An open API service indexing awesome lists of open source software.

https://github.com/valiot/dockapse

A Docker wrapper for Nerves.
https://github.com/valiot/dockapse

Last synced: about 1 month ago
JSON representation

A Docker wrapper for Nerves.

Awesome Lists containing this project

README

          

# Dockapse

A lightweight/configurable interface that allows us to run docker commands through elixir based on [simple_docker](https://github.com/annkissam/simple_docker).

The purpose is to be able to manage docker in [Nerves](https://www.nerves-project.org/).

NOTE: By default, Nerves images do not include `docker`, however, [valiot_system_rpi4](https://github.com/valiot/valiot_system_rpi4/commit/5640b2b112b4833d4fc21d56969c26161806a3a2) is a custom Nerves system that includes docker.

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `dockapse` to your list of dependencies in `mix.exs`:

```elixir
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](https://docs.docker.com/engine/install/linux-postinstall/)