O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

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

Getting ready

For this recipe, we will use a Linux server running Ubuntu 16.04.2 x64. 

  1. Download the latest .deb file from https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/. For other Linux distros, you can find the packages at https://download.docker.com/linux/:
        $ wget https://download.docker.com/linux/ubuntu/dists/xenial        /pool/stable/amd64/docker-ce_17.03.2~ce-0~ubuntu-xenial_amd64.deb
  1. Install the Docker package using the dpkg package manager:
      $  sudo dpkg -i docker-ce_17.03.2~ce-0~ubuntu-xenial_amd64.deb

The name of the package will vary based on the version you have downloaded. 

  1. After successful installation, the Docker service starts running. You can verify this by using the service command:
 $ service docker ...

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