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:
- Log in to your machine console. Make sure you have sudo/root privilege.
- Update the apt- package information with the following command:
sudo apt-get update
- 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.
- 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 ...