Sign inSign up

nogajun/systemd-ssh-debian

By nogajun

Updated 5 months ago

Debian 13 (Trixie) Docker container with systemd and SSH

Image
0

989

nogajun/systemd-ssh-debian repository overview

systemd-ssh-debian

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.

How to Build

Docker

docker build -t <tag> container/

Docker compose

docker compose build

How to Run

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

License

MIT License


systemd-ssh-debian

これは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

License

MIT License

Tag summary

Content type

Image

Digest

sha256:66ce86e84

Size

84.1 MB

Last updated

5 months ago

docker pull nogajun/systemd-ssh-debian