3.2 Upgrading the Docker Engine

To upgrade the Docker Engine:

  1. Stop the docker service if it is running:

    # systemctl stop docker
  2. Update the docker-engine and docker-cli packages:

    # yum update docker-engine docker-cli
  3. Start the docker service:

    # systemctl start docker