O'Reilly logo

Practical Microservices by Umesh Ram Sharma

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

Installing Docker in Linux

To run Docker, the minimum kernel version required is 3.13. Check your kernel version, and if it is less than the required version, upgrade it. To install Docker on your machine, follow these steps:

  1. Log in to your machine console. Make sure you have sudo/root privilege.
  2. Update the apt- package information with the following command:
      sudo apt-get update  
  1. CA certificates need to be installed for ensuring it works on the HTTPS method with the sudo apt-get install apt-transport-https ca-certificates command.
  2. Add a new GNU Privacy Guard (GPG) key in Linux. This is used for secure communication between entities:
      sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80  --recv-keys 58118E89F3A912897C070ADBF76221572C52609D ...

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