O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up the Docker environment

In this recipe, you will learn how to install Docker and get acquainted with the basic commands. You will see how to create and build an image based on Fedora, and how you can run it.

Getting ready

We will need to have access to the Internet in order to download and install Docker and its dependencies.

How to do it…

  1. To install Docker on Fedora, issue the following commands:
    $ sudo yum -y remove docker
    $ sudo yum -y install docker-io

    The installation should look like the following screenshot:

    How to do it…
  2. Okay, now that Docker is installed, let's run it:
    $ sudo systemctl start docker
  3. If you want to start Docker at boot time, use the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required