diff --git a/README.md b/README.md index bc564e9..5a53071 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ platforms: pre_build_image: true ``` -### Interactively +### Interactively Using Docker 1. Install [docker] 2. Build an image locally (see above) or pull from Docker Hub: `docker pull trfore/docker-ubuntu2204-systemd:latest` @@ -60,7 +60,13 @@ docker run -d -it --name ubuntu2204-systemd --privileged --cgroupns=host --tmpfs 4. Use it, ex: `docker exec -it ubuntu2204-systemd /bin/bash` -## Systemd with Cgroup V1 or V2 +### Using Podman + +- Podman defaults to running containers in systemd mode, `--systemd=true`, and will mount the required tmpfs and cgroup filesystem. See [Podman Docs: Commands `run --systemd`] for details. + +```sh +podman run -d -it --name debian12-systemd docker.io/trfore/docker-debian12-systemd:latest +``` ## Additional Images @@ -72,6 +78,7 @@ docker run -d -it --name ubuntu2204-systemd --privileged --cgroupns=host --tmpfs | [Debian 12][debian] | [docker-debian12-systemd] | [trfore/docker-debian12-systemd] | | [Ubuntu 20.04][ubuntu] | [docker-ubuntu2004-systemd] | [trfore/docker-ubuntu2004-systemd] | | [Ubuntu 22.04][ubuntu] | [docker-ubuntu2204-systemd] | [trfore/docker-ubuntu2204-systemd] | +| [Ubuntu 24.04][ubuntu] | [docker-ubuntu2404-systemd] | [trfore/docker-ubuntu2404-systemd] | ## Maintainers @@ -102,11 +109,14 @@ Inspired by Jeff Geerling's ([@geerlingguy](https://github.com/geerlingguy)), Ce [docker-debian12-systemd]: https://github.com/trfore/docker-debian11-systemd/blob/main/Dockerfile [docker-ubuntu2004-systemd]: https://github.com/trfore/docker-ubuntu2004-systemd/blob/main/Dockerfile [docker-ubuntu2204-systemd]: https://github.com/trfore/docker-ubuntu2204-systemd/blob/main/Dockerfile +[docker-ubuntu2404-systemd]: https://github.com/trfore/docker-ubuntu2404-systemd/blob/main/Dockerfile [trfore/docker-centos8-systemd]: https://hub.docker.com/r/trfore/docker-centos8-systemd [trfore/docker-debian10-systemd]: https://hub.docker.com/r/trfore/docker-debian10-systemd [trfore/docker-debian11-systemd]: https://hub.docker.com/r/trfore/docker-debian11-systemd [trfore/docker-debian12-systemd]: https://hub.docker.com/r/trfore/docker-debian12-systemd [trfore/docker-ubuntu2004-systemd]: https://hub.docker.com/r/trfore/docker-ubuntu2004-systemd [trfore/docker-ubuntu2204-systemd]: https://hub.docker.com/r/trfore/docker-ubuntu2204-systemd -[github runner - ubuntu 20.04]: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md -[github runner - ubuntu 22.04]: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md +[trfore/docker-ubuntu2404-systemd]: https://hub.docker.com/r/trfore/docker-ubuntu2404-systemd +[github runner - ubuntu 20.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md +[github runner - ubuntu 22.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md +[Podman Docs: Commands `run --systemd`]: https://docs.podman.io/en/latest/markdown/podman-run.1.html#systemd-true-false-always