Sign inSign up

lj020326/centos8-systemd-python

By lj020326

Updated 7 months ago

CentOS 8 image with systemd and python enabled

Image
1

10K+

lj020326/centos8-systemd-python repository overview

CentOS 8 image with systemd and python enabled

Github source

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-centos --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro lj020326/centos8-systemd-python

or if it doesn't work

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

  1. Enter to the container

docker exec -it systemd-centos sh

  1. Remove the container

docker rm -f systemd-centos

Tag summary

Content type

Image

Digest

sha256:8c65f518f

Size

377.3 MB

Last updated

7 months ago

docker pull lj020326/centos8-systemd-python