Installing Docker

Before we go any further, we will learn how to install the software that allows us to host Docker containers.

Getting ready

For this recipe, you will need an Ubuntu 14.04 server.

How to do it…

The Docker developers have gone to great lengths to make the installation of Docker as simple as possible, and this recipe should have you up and running within minutes:

  1. First, ensure that you have the wget tool installed by issuing the following command:
    $ sudo apt-get install wget
    
  2. Once you have wget installed, issue the following command to run the Docker installer:
    $ wget -qO- https://get.docker.com/ | sh
    
  3. The installer will prompt you for the sudo password, which once entered will install Docker and any dependencies. Once the install is complete, ...

Get Learning DevOps: Continuously Deliver Better Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.