1.4.5
,1.4
,latest
(1.4/Dockerfile)1.4.5-slim
,1.4-slim
,slim
(1.4/slim/Dockerfile)1.3.4
,1.3
(1.3/Dockerfile)1.3.4-slim
,1.3-slim
(1.3/slim/Dockerfile)1.2.6
,1.2
(1.2/Dockerfile)1.2.6-slim
,1.2-slim
(1.2/slim/Dockerfile)
-
Where to get help:
the Docker Community Forums, the Docker Community Slack, or Stack Overflow -
Where to file issues:
https://github.com/c0b/docker-elixir/issues -
Maintained by:
the Docker Community, with Elixir's support -
Published image artifact details:
repo-info repo'srepos/elixir/
directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images PRs with labellibrary/elixir
official-images repo'slibrary/elixir
file (history) -
Source of this description:
docs repo'selixir/
directory (history) -
Supported Docker versions:
the latest release (down to 1.6 on a best-effort basis)
Elixir is a dynamic, functional language designed for building scalable and maintainable applications.
Elixir leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain.
➸ docker run -it --rm elixir
Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.2.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> System.version
"1.2.1"
iex(2)>
➸ docker run -it --rm -h elixir.local elixir iex --sname snode
Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.2.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(snode@elixir)1> System.version
"1.2.1"
iex(snode@elixir)2> :c.uptime
14 seconds
:ok
$ docker run -it --rm --name elixir-inst1 -v "$PWD":/usr/src/myapp -w /usr/src/myapp elixir elixir your-escript.exs
The elixir
images come in many flavors, each designed for a specific use case.
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run elixir
. Unless you are working in an environment where only the elixir
image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
Copyright 2012 Plataformatec
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
View license information for the software contained in this image.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.