2.4 Installing Oracle Container Runtime for Docker

To install the docker-engine and docker-cli packages.

# yum install docker-engine docker-cli

Start the docker service and configure it to start at boot time.

# systemctl enable --now docker

To check that the docker service is running, use the following command:

# systemctl status docker

You can also use the docker info command to display information about the configuration and version of the Docker Engine.

# docker info

For more information, see the docker(1) manual page.