How to use the CRI image

Joseph Chazalon

Clément Demoulins

February 2020

Why?

Using Docker means having root powers (until now) on the host machine.

We need special images.

Procedure

  1. Boot on the Arch Linux CRI image.

  2. Login using your own credentials.

  3. Wait a few minutes until the sudo command becomes available.

  4. Update the Arch Linux keyring:

    sudo pacman -Sy archlinux-keyring
  5. Install Docker and starts the daemon:

    sudo pacman -S docker
    sudo systemctl start docker
  6. Test the installation:

    sudo docker info

If all the steps above were successful, you can start a shell as root to run all your Docker commands:

sudo -s