Debian 13 (Trixie) Docker container with systemd and SSH
989
This is a Debian 13 (Trixie) Docker container with Systemd and SSH enabled. It can be used to test Infrastructure as Code (IaC) tools like Pyinfra instead of Vagrant. This container is not intended for production use.
It was created by forking the Dockerfile for Ubuntu found in the pyinfra Examples.
Docker
docker build -t <tag> container/
Docker compose
docker compose build
Docker
docker run -d --name testserver --cgroupns=host --volume /sys/fs/cgroup:/sys/fs/cgroup --tmpfs /run --tmpfs /run/lock --tmpfs /tmp nogajun/systemd-ssh-debian
Docker compose
docker compose up -d
MIT License
これはSystemdとSSHが利用できるDebian 13(Trixie)のDockerコンテナです。 VagrantのかわりにPyinfraなどのIaCのテストに利用できます。これを使って実運用はできません。
pyinfra Examplesにあったubuntu用のDockerfileをフォークして作りました。
Docker
docker build -t <tag> container/
Docker compose
docker compose build
Docker
docker run -d --name testserver --cgroupns=host --volume /sys/fs/cgroup:/sys/fs/cgroup --tmpfs /run --tmpfs /run/lock --tmpfs /tmp nogajun/systemd-ssh-debian
Docker compose
docker compose up -d
MIT License
Content type
Image
Digest
sha256:66ce86e84…
Size
84.1 MB
Last updated
5 months ago
docker pull nogajun/systemd-ssh-debian