Public | Automated Build

Last pushed: an hour ago
Short Description
Docker image for a Centos 7+ with a working Systemd, provisionned with Chef to be used in Kitchen
Full Description

docker-centos-systemd-kitchen

Docker image for a Centos 7+ with a working Systemd, provisionned with Chef
to be used in Test Kitchen.

Test it easily with:

# Get the image
docker pull sbernard/centos-systemd-kitchen
# Run it (do not forget cgroup volume for systemd)
docker run -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro --name csk \
  sbernard/centos-systemd-kitchen
# Open a shell in it, you can try 'systemctl' for instance
docker exec -it csk bash -c 'TERM=xterm bash'
# Kill and remove the container
docker kill csk; docker rm csk
Docker Pull Command
Owner
sbernard

Comments (1)
dingwenxiang0
4 months ago

hello Samuel Bernard!
When i use docker attach csk command.
the shell controller blocking and nothing.

and what mean for docker exec -it csk bash -c 'TERM=xterm bash'? -- this command worked.

thank you.