๐ Docker image with supervisord and sshd (rootless version). This image is almost equivalent to dmotte/svcbox but it runs as a non-root user.
๐ฆ This image is also on Docker Hub as
dmotte/svcbox-rootless
and runs on several architectures (e.g. amd64, arm64, ...). To see the full list of supported platforms, please refer to the.github/workflows/main.yml
file. If you need an architecture which is currently unsupported, feel free to open an issue.
In general, the use of this image is very similar to dmotte/svcbox, but:
- if you want the container to generate missing SSH host keys, the related volume(s) must be writable by the
mainuser
user of the container; otherwise, the generated keys won't be written to the volume - See the usage example of dmotte/docker-portmap-server-rootless for other useful tips that may be applicable to this image too, since the SSH keys management is almost the same
Note: even if the container is running as an unprivileged user, you can still use
docker exec -ituroot mycontainer bash
to run commands as root inside it.
For more info see the dmotte/svcbox project, which is very similar to this one.