In order to do any of the steps of this workshop, you will need
root privileges. There are two ways of doing this, and which you choose is up to you.
The first, and easier, way is to start a
root session, with
Alternately, you can preface each command that we show you with
sudo. For example, to move a file:
sudo mv file /tmp/
Either method will work, but remember that, in a production environment, the second method is much more secure and auditable.
The docker tooling requires a daemon (service) to operate. There are alternative CLI tools which provide focused separation of the docker command’s features and extend their capabilities. The following three commands will be used throughout this workshop.
Buildah - used to build Open Container Initiative (OCI) format or docker format container images without the need for a daemon.
Podman - provides the ability to directly run container images without a daemon. Podman can pull container images from a container registry if they are not available locally
Skopeo - offers features for pulling and pushing containers to registries. Moving containers between registries is supported. Container image inspection is also offered and some introspective capabilities can be performed without first downloading the container itself.
yum -y install buildah skopeo podman