| .gitattributes | Mark .initd as shell | |
| container.initd | Initial commit | |
| Makefile | Initial commit | |
| README.md | Fix typo in README | |
| UNLICENSE | Add license | |
OpenRC init script for docker-compose
Opinionated OpenRC init script for launching docker-compose containers
Installation
Alpine Linux
The recommended way to install container-openrc, is to build and install the .apk-package using https://codeberg.org/fossdd/user-aports/src/branch/main/achill/container-openrc/APKBUILD.
Manually
Alternativly, you can install (or package) it using the Makefile. Or by
manualling installing
https://codeberg.org/fossdd/container-openrc/raw/branch/main/container.initd
to /etc/init.d/container
How to configure a Container
- Symlink runscript
containerfor youre new Container hello-world:ln -s container /etc/init.d/container.hello-world - Configure your new Container:
mkdir -p /var/lib/containers/hello-world/ vi /var/lib/containers/hello-world/docker-compose.yml - Start your new Container:
doas rc-service container.hello-world start
License
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
See https://unlicense.org/ for more information.