Docker Quick Installation GuideΒΆ

This quick installation guides assumes you are running a current Fedora workstation, and you have no special requirements or ideas or other such adventures in mind.

Install, configure and run Docker:

  1. Install the docker package:

    # dnf -y install docker
    
  2. Add a docker group:

    # groupadd -r docker
    
  3. Add your user account to the docker group, for example jdoe:

    # gpasswd -a jdoe docker
    
  4. Start the docker service and configure it to be started when the system reboots:

    # systemctl start docker.service
    # systemctl enable docker.service
    
  5. Verify Docker works, and pull an image if you feel so inclined:

    # docker ps -a
    # docker images -a
    # docker pull centos:centos7
    
  6. Log out the jdoe user account completely to let the new group membership take effect.