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


Fedora dockerfile for apache working with systemd For more information on systemd inside Docker containers, please see:

Get Docker version

# docker version

To build:

Copy the sources down and do the build-

# docker build -t fedora/sysapache .

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

docker run -it --rm -p 80:80 -v /sys/fs/cgroup:/sys/fs/cgroup fedora/sysapache

To confirm the port that the container is listening on:

# docker ps

To test, open another terminal and issue:

# curl http://localhost

You can’t perform that action at this time.