Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 946 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 946 Bytes

Dockapse

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.

Installation

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

Testing

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