A lightweight/configurable interface that allows us to run docker commands through elixir based on simple_docker.
The purpose is to be able to manage docker in Nerves.
NOTE: By default, Nerves images do not include docker
, however, valiot_system_rpi4 is a custom Nerves system that includes docker.
If available in Hex, the package can be installed
by adding dockapse
to your list of dependencies in mix.exs
:
def deps do
[{:dockapse, "~> 0.1.0"}]
end
Since Nerves runs by default as the root
user, in order to run the tests (at host), docker should be configured to run with a non-root user as described here