thomasjpfan / ubuntu-python-systemd

Systemd-enabled Ubuntu 16.04 with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thomasjpfan/ubuntu-python-systemd

CircleCI

Based on solita/docker-systemd, which runs systemd. This Docker image installs python to the image to provide ansible-playbook testing. The solita/docker-systemd image solves the PID 1 zombie reaping problem in docker, and properly handles kill signals. This thomasjpfan/ubuntu-python-systemd image installs dependencies used by molecule to test ansible playbooks.

This image is meant for ansible playbook testing! Not production!

Running

For python 2 use:

docker run -d --rm --name systemd --privileged \
    -v /sys/fs/cgroup:/sys/fs/cgroup:ro -t \
    thomasjpfan/ubuntu-python-systemd:16.04-py2

For python 3 use:

docker run -d --rm --name systemd --privileged \
    -v /sys/fs/cgroup:/sys/fs/cgroup:ro -t \
    thomasjpfan/ubuntu-python-systemd:16.04-py3

About

Systemd-enabled Ubuntu 16.04 with Python

License:MIT License