Skip to content

xrowgmbh/docker-systemd-example-httpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Example image for testing official CentOS 7 systemd container

Build it

docker build --rm --no-cache -t httpd .

Run it in Background

docker kill httpd && docker rm httpd && docker run --privileged --name httpd -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 -d  httpd

Run it in Foreground

docker kill httpd && docker rm httpd && docker run --privileged --name httpd -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 -ti httpd

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published