LabInstance perl full!

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.

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.

RUN INSTANCE

Swarmlab services can be run in different ways.

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