Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile
README.md

README.md

dockerfiles-fedora-systemd

Fedora dockerfile for systemd

Get Docker version

# docker version

To build:

Copy the sources down and do the build-

# docker build -t <username>/systemd .

To run docker in a container you need to mount cgroup file system volume:

# docker run --rm -ti \
    -v /sys/fs/cgroup:/sys/fs/cgroup:ro <username>/systemd /bin/bash

To test once inside the container, check and see if systemd is working:

# /lib/systemd/systemd --system
You can’t perform that action at this time.