How to combine Elixir with Docker?

A step-by-step tutorial with code examples on how to combine Elixir with Docker 
07 August 2017   2154

Dynamic, functional language designed for building scalable and maintainable applications.

Elixir is a functional, distributed general-purpose programming language that runs on the Erlang virtual machine. It is built on top of Erlang, which provides distribution, fault tolerance, soft real-time execution, metaprogramming with macros and polymorphism implemented via protocols.

Docker - software for deployment automate and apps management in a virtualization environment at the operating system level. Allows you to "package" an application with all its environment and dependencies into a container that can be transferred to any Linux system with support for cgroups in the kernel, and also provides a container management environment. Initially used the capabilities of LXC, since 2015 used its own library, abstracting the virtualization capabilities of the Linux kernel - libcontainer. With the advent of the Open Container Initiative, the transition from monolithic to modular architecture began.

Docker is widely used in modern software development. So to use both Docker and Elixir together?

The plan of configuration:

  1. Dockerfile definition
  2. Auxiliary bash script
  3. mix.exs description
  4. your_application.ex main module

You can learn how to "unite" Elixir and Docker from this tutorial

Elixir v1.7.0-rc.0 Released

Development team ask community to try out new release 
17 July 2018   1285

Elixir team rolled out zero release candidate for version 1.7.0.

Hi everyone,

We have just released v1.7.0-rc.0.

Please give it a try! You can either compile the v1.7 branch from source OR use the precompiled files, as described in our install page 11.

Note that you will need {:ex_doc, "~> 0.19-rc"}if you want to generate docs using the release candidate.

Happy coding!


Creator, Elixir

Currently Elixir supports two metadata keys: :deprecated and :since. Other keys will be added in the future. 

To access the new documentation, developers should use Code.fetch_docs/1. The old documentation format is no longer available and the old Code.get_docs/1 function will return nil accordingly.

Tools like IEx and ExDoc have been updated to leverage the new format and show relevant metadata to users

Learn more at GitHub