Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 747 Bytes

README.md

File metadata and controls

35 lines (18 loc) · 747 Bytes

Docker Test image

Description

You can use this images as base containers to run systemd services inside.

Usage

  1. Run the container as a daemon

    docker run -d --name systemd --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro arillso/$IMAGE

    or if it doesn't work

    docker run -d --name systemd --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro arillso/$IMAGE

  2. Enter to the container

    docker exec -it systemd sh

  3. Remove the container

    docker rm -f systemd

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2020, Arillso