docs/perl
Docker Library Bot 9c74ecf15a Run update.sh 2017-07-28 17:32:31 +00:00
..
README-short.txt Reflow all the language stack `README-content.md` files to 80 columns and incorporate Fred's changes 2014-09-13 17:33:55 -06:00
README.md Run update.sh 2017-07-28 17:32:31 +00:00
content.md Use explicit-type code blocks in a lot of obvious places (now that the Hub actually renders these _better_ than the no-type versions) 2015-08-13 09:29:14 -07:00
github-repo Add github-repo file to every image repo 2016-05-12 16:33:19 -07:00
license.md FORMAT ALL THE THINGS 2015-02-12 13:42:10 -07:00
logo.png Update Perl logo 2014-09-26 17:20:15 -06:00
maintainer.md Refactor the way information (especially links) are presented 2017-04-21 17:48:19 -07:00

README.md

Supported tags and respective Dockerfile links

Quick reference

What is Perl?

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.

wikipedia.org/wiki/Perl

logo

How to use this image

Create a Dockerfile in your Perl app project

FROM perl:5.20
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "perl", "./your-daemon-or-script.pl" ]

Then, build and run the Docker image:

$ docker build -t my-perl-app .
$ docker run -it --rm --name my-running-app my-perl-app

Run a single Perl script

For many simple, single file projects, you may find it inconvenient to write a complete Dockerfile. In such cases, you can run a Perl script by using the Perl Docker image directly:

$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp perl:5.20 perl your-daemon-or-script.pl

License

View license information for the software contained in this image.