README.md

Playground to manage containers

This is a demo of using atomic and systemctl to manage docker containers.

If you are interested in trying out dnf prototype to manage modules, head over to this repository:

https://github.com/container-images/dnf-modularity-prototype

Usage

The environment consists of one docker container which "boots" systemd inside. In such environment you will be able to install and run containerized services.

You should start by building the image:

$ make build

Followed by running the image:

$ make run

Right now you should be inside the environment.

Installing container images

The current solution is using atomic to install the container image.

$ atomic install modularitycontainers/nginx

You can now manage containerized nginx using systemd:

$ systemctl start nginx-container
$ systemctl status nginx-container

Components

atomic

Link to srpm:

https://ttomecek.fedorapeople.org/modularity-playground/atomic-1.17.1-3.modularity.fc27.src.rpm

The srpm is generated from spec file found in this git repo inside directory atomic/.