Dockerfile links19.0, 19, latest (19/Dockerfile)19.0-slim, 19-slim, slim (19/slim/Dockerfile)19.0-onbuild, 19-onbuild, onbuild (19/onbuild/Dockerfile)18.3.4, 18.3, 18 (18/Dockerfile)18.3.4-slim, 18.3-slim, 18-slim (18/slim/Dockerfile)18.3.4-onbuild, 18.3-onbuild, 18-onbuild (18/onbuild/Dockerfile)17.5.6.9, 17.5.6, 17.5, 17 (17/Dockerfile)17.5.6.9-slim, 17.5.6-slim, 17.5-slim, 17-slim (17/slim/Dockerfile)For more information about this image and its history, please see the relevant manifest file (library/erlang). This image is updated via pull requests to the docker-library/official-images GitHub repo.
For detailed information about the virtual/transfer sizes and individual layers of each of the above supported tags, please see the erlang/tag-details.md file in the docker-library/docs GitHub repo.
Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.
➸ docker run -it --rm erlang
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V7.1 (abort with ^G)
1> uptime().
3 seconds
ok
2> % use Ctrl+G to call the shell switch
User switch command
--> ?
c [nn] - connect to job
i [nn] - interrupt job
k [nn] - kill job
j - list all jobs
s [shell] - start local shell
r [node [shell]] - start remote shell
q - quit erlang
? | h - this message
--> q
➸ docker run -it --rm -h erlang.local erlang erl -name [email protected]
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V7.1 (abort with ^G)
([email protected])1> erlang:system_info(otp_release).
"18"
([email protected])2>
User switch command
--> q
$ docker run -it --rm --name erlang-inst1 -v "$PWD":/usr/src/myapp -w /usr/src/myapp erlang escript your-escript.erl
View license information for the software contained in this image.
This image is officially supported on Docker version 1.11.2.
Support for older versions (down to 1.6) is provided on a best-effort basis.
Please see the Docker installation documentation for details on how to upgrade your Docker daemon.
Documentation for this image is stored in the erlang/ directory of the docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository's README.md file before attempting a pull request.
If you have any problems with or questions about this image, please contact us through a GitHub issue. If the issue is related to a CVE, please check for a cve-tracker issue on the official-images repository first.
You can also reach many of the official image maintainers via the #docker-library IRC channel on Freenode.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.