The cri-o package
  • Dockerfile 59%
  • Shell 41%
Find a file
Giuseppe Scrivano 8e4793fa51
sync with upstream
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-10 09:53:53 +01:00
config.json.template config.json.template: sync from upstream 2017-11-17 13:59:39 +01:00
config.json.template.orig Initial import (rhbz#1511605) 2017-11-11 10:50:32 +01:00
Dockerfile sync with upstream 2018-01-10 09:53:53 +01:00
manifest.json Initial import (rhbz#1511605) 2017-11-11 10:50:32 +01:00
README.md Initial import (rhbz#1511605) 2017-11-11 10:50:32 +01:00
run.sh sync with upstream 2018-01-10 09:53:53 +01:00
service.template sync with upstream 2018-01-10 09:53:53 +01:00
set_mounts.sh Initial import (rhbz#1511605) 2017-11-11 10:50:32 +01:00
tmpfiles.template sync with upstream 2018-01-10 09:53:53 +01:00

cri-o

This is the cri-o daemon as a system container.

Building the image from source:

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

Running the system container, with the atomic CLI:

Pull from registry into ostree:

# atomic pull --storage ostree $REGISTRY/crio

Or alternatively, pull from local docker:

# atomic pull --storage ostree docker:crio: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=crio ($REGISTRY)/crio

Start as a systemd service:

# systemctl start crio

Stopping the service

# systemctl stop crio

Removing the container

# atomic uninstall crio