Sign inSign up

lj020326/ubuntu1804-systemd-python

By lj020326

Updated about 1 year ago

Ubuntu 18.04 image with systemd and python enabled

Image
3

6.2K

lj020326/ubuntu1804-systemd-python repository overview

Ubuntu 18.04 image with systemd and python enabled

You can use this image as a base container to run systemd services and python installed (e.g., ansible, etc).

Supported tags

  • latest

Usage

  1. Run the container as a daemon

docker run -d --name systemd-ubuntu --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro lj020326/ubuntu1804-systemd-python

or if it doesn't work

docker run -d --name systemd-ubuntu --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro lj020326/ubuntu1804-systemd-python

  1. Enter to the container

docker exec -it systemd-ubuntu sh

  1. Remove the container

docker rm -f systemd-ubuntu

Tag summary

Content type

Image

Digest

sha256:a36bd08f7

Size

357.1 MB

Last updated

about 1 year ago

docker pull lj020326/ubuntu1804-systemd-python