Skip to content

Varios enhanced Docker images with an ability to run system

Notifications You must be signed in to change notification settings

vladimirtiukhtin/docker-systemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-systemd

A collection of enhanced Dockerfiles for various operating system images with an ability to run systemd

Requirements

An image to be built and run requires docker - containerization platform. Check upstream documentation for how to install docker on your system

How to build

To build an image from the repository root path, replace or set a variable ${os} and run

docker build \
  --file ${os}/Dockerfile \
  --tag ${os}:systemd .

How to run

To successfully start an image you must provide number of filesystems mounted/bindmounted inside a container

$ docker run \
  --detach \
  --name=${os}-systemd \
  --mount type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup \
  --mount type=bind,source=/sys/fs/fuse,target=/sys/fs/fuse \
  --mount type=tmpfs,destination=/run \
  --mount type=tmpfs,destination=/run/lock hippolab/${os}:systemd

About

Varios enhanced Docker images with an ability to run system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published