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.
- Host: GitHub
- URL: https://github.com/valiot/dockapse
- Owner: valiot
- Created: 2021-05-26T08:28:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-16T01:44:48.000Z (almost 3 years ago)
- Last Synced: 2025-10-23T14:58:11.230Z (8 months ago)
- Language: Elixir
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)