You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.4 KiB
103 lines
2.4 KiB
= LabInstance perl!
|
|
|
|
|
|
== Quickstart
|
|
|
|
This is a quickstart guide of howto use this *LabInstance*
|
|
|
|
=== Default Configuration
|
|
|
|
- Working Directory
|
|
|
|
> /home/docker/project
|
|
|
|
- Default user
|
|
|
|
> docker
|
|
|
|
- Default password
|
|
|
|
> docker
|
|
|
|
- Default password4root
|
|
|
|
> pass
|
|
|
|
|
|
== LabInstance Info
|
|
|
|
|
|
Perl is a high-level, general-purpose, interpreted, dynamic programming language. The Perl language borrows features from other programming languages, including C, shell scripting (sh), AWK, and sed.
|
|
|
|
https://en.wikipedia.org/wiki/Perl
|
|
|
|
**This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run perl. Unless you are working in an environment where only the perl image will be deployed and you have space constraints, we highly recommend using the default image of this repository.**
|
|
|
|
=== Coexisting with Debian's /usr/bin/perl
|
|
|
|
The perl binary built for this image is installed in /usr/local/bin/perl, along with other standard tools in the Perl distribution such as prove and perldoc, as well as cpanm for installing CPAN modules. Containers running this image will also have their PATH enviroment set like /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin to ensure that this perl binary will be found first in normal usage.
|
|
|
|
As this official image of Docker is built using the buildpack-deps image (or debian:slim for :slim variants,) this image also contains a /usr/bin/perl as supplied by the Debian project. This is needed for the underlying dpkg/apt package management tools to work correctly, as docker-perl cannot be used here due to different configuration (such as @INC and installation paths, as well as other differences like whether -Dusethreads is included or not.)
|
|
|
|
https://github.com/Perl/docker-perl/issues/26[^]
|
|
for an extended discussion.
|
|
|
|
== More info
|
|
|
|
https://www.perl.org/community.html[^]
|
|
|
|
https://novnc.com/info.html[^]
|
|
|
|
== RUN INSTANCE
|
|
|
|
Swarmlab services can be run in different ways.
|
|
|
|
- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html)
|
|
- or use them individually at will on the **command line of your system**
|
|
|
|
|
|
=== CLI
|
|
|
|
> git clone ...
|
|
|
|
> cd [DIRECTORY]
|
|
|
|
|
|
=== help
|
|
|
|
> make help
|
|
|
|
|
|
==== create service
|
|
|
|
> make create
|
|
|
|
|
|
=== start service
|
|
|
|
> make start
|
|
|
|
|
|
=== stop service
|
|
|
|
> make stop
|
|
|
|
|
|
=== list service
|
|
|
|
> make list
|
|
|
|
|
|
=== clean service
|
|
|
|
> make clean
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|