The docker container
  • Shell 56.9%
  • Dockerfile 43.1%
Find a file
Clement Verna d9d750294a Drop Release label in favor of OSBS release_bump plugin.
OSBS can automatically bump the release number, for that
we just need to drop the label from the Dockerfile

See https://pagure.io/ContainerSIG/container-sig/issue/1

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-08-22 22:56:35 +02:00
.gitignore Initial setup of the repo 2017-06-13 15:51:08 +00:00
config.json.template Initial import (#1460787) 2017-06-13 17:34:24 -04:00
daemon.json Initial import (#1460787) 2017-06-13 17:34:24 -04:00
Dockerfile Drop Release label in favor of OSBS release_bump plugin. 2018-08-22 22:56:35 +02:00
init.sh Initial import (#1460787) 2017-06-13 17:34:24 -04:00
README.md Initial import (#1460787) 2017-06-13 17:34:24 -04:00
service.template Initial import (#1460787) 2017-06-13 17:34:24 -04:00
set_mounts.sh Initial import (#1460787) 2017-06-13 17:34:24 -04:00
shim.sh Initial import (#1460787) 2017-06-13 17:34:24 -04:00
sources Initial setup of the repo 2017-06-13 15:51:08 +00:00
tmpfiles.template Initial import (#1460787) 2017-06-13 17:34:24 -04:00

docker

This is the docker daemon system container for Fedora systems based on the moby project. For more information refer to: https://github.com/moby/moby

Note this only provides the daemon process, and does not include CLI tools. The current use case for this would be switching between different versions of docker by updating the container.

Building the image from source:

# git clone https://github.com/projectatomic/atomic-system-containers
# cd atomic-system-containers/docker-fedora
# docker build -t docker .

Running the system container, with the atomic CLI:

Pull from registry into ostree:

# atomic pull --storage ostree $REGISTRY/docker

Or alternatively, pull from local docker:

# atomic pull --storage ostree docker:docker:latest

Install the container:

Currently we recommend using --system-package=no to avoid having rpmbuild create an rpm file during installation. This flag will tell the atomic CLI to fall back to copying files to the host instead.

# atomic install --system --system-package=no --name=docker ($REGISTRY)/docker

Note that if you have the package docker locally, you would need to use another
name for the service (i.e. --name=docker-system-container, etc.)

Start as a systemd service:

# systemctl start docker

Stopping the service

# systemctl stop docker

Removing the container

# atomic uninstall docker