Docker is a tool that allows you to easily build, test and deploy applications smoothly and quickly using containers. Containers allow a developer to package an application with its dependencies and ship it out as a single package. Docker provides a more efficient and lightweight environment to deploy the application.
Docker engine official repository is now available in your system. Now you can install the Docker using the following command $ sudo apt-get update $ sudo apt-get install docker-ce docker-ce-cli containerd.io Step 4: Install Specific Versions Docker Engine. To install a specific version of Docker Engine, list the available versions in the repo.
Docker Engine is the industry’s de facto container runtime that runs on various Linux ( CentOS, Debian, Fedora, Oracle Linux, RHEL, SUSE, and Ubuntu) and Windows Server operating systems. Docker creates simple tooling and a universal packaging approach that bundles up all application dependencies inside a container which is then run on Docker. Docker Engine has three types of update channels, stable, test, and nightly: The Stable channel gives you latest releases for general availability. The Test channel gives pre-releases that are ready for testing before general availability (GA). The Nightly channel gives you latest builds of work in progress for the next major release.
In this tutorial helps you to install Docker on Ubuntu 19.10/18.04
Step 1: Uninstall Old Versions
If old version of Docker is installed in your system then please remove it and it’s dependencies before proceeding with the installation.
Step 2: Add Docker Repository
Run the following command which will add the Docker repository to your system:
First, update the apt package index and install packages to allow apt to use a repository over HTTPS
Add Docker’s official GPG key:
Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88.
Use the following command to set up the stable repository.
Step 3: Install Docker Engine
Docker engine official repository is now available in your system. Now you can install the Docker using the following command
Step 4: Install Specific Versions Docker Engine
To install a specific version of Docker Engine, list the available versions in the repo, then select and install:
List and sort the versions available in your repo.
Install a specific version by its fully qualified package name.
Step 5: Start Docker
After, Docker package has been installed, start the docker service and enable it at boot time using the below commands:
Step 6: Check Docker Version
Run mention command to check the docker version.
Step 7: Check Docker Info
Now, you can check some docker info using mention command.
Step 8: Verify that Docker Engine
Get Docker Engine Software
Verify that Docker Engine is installed correctly by running the following command.
Get Docker Engine Windows
Get Docker Engineer