Sudo apt-get install docker-ce docker-ce-cli containerd.io # Install most recent version of Docker Engine Now install the most recent version of Docker Engine using the commands as shown below. Setup the stable repository using the command as shown below.Įcho "deb $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/null Now import the Docker's official GPG key using the curl command as shown below.Ĭurl -fsSL | sudo gpg -dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg Sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release # Install packages required to allow apt to use repository over HTTPS Also, this is the recommended approach to install Docker Engine on Ubuntu. We can install Docker Engine using the Docker Repository to have ease of upgrades in the future. Install Docker Engine using Docker Repository In case none of the packages are installed, you might get the output as shown below.Į: Unable to locate package docker-engine Sudo apt-get remove docker docker-engine docker.io containerd runc # Remove existing version of Docker among docker, docker.io, or docker-engine In case you have an existing version of Docker Engine (docker, docker.io, or docker-engine) installed on your system, you can remove it using the command as shown below. This tutorial provides the steps to install Docker Engine on x86_64 architecture. The system architectures supported by Docker Engine include x86_64 (or amd64), armhf, arm64, and s390x. Also, make sure that you have installed Ubuntu on machines having x86_64 architecture. The Ubuntu versions on which we can install Docker Engine include Ubuntu 22.04, Ubuntu 21.04, Ubuntu 20.04 LTS, and Ubuntu 18.04 LTS. Hello World to verify that Docker Engine is successfully installed on Ubuntu. It also provides the steps to remove the existing installation of Docker and run the first image i.e. This tutorial provides all the steps required to install the most recent version of Docker Engine on Ubuntu 22.04 LTS. Docker can be used to run applications in lightweight containers without interfering with the system configurations and software installed on the system. This makes it easy to develop multiple projects on the same system without installing the project-specific applications on the system. Docker is a tool that can be used to set up different environments having its own set of applications in a container without installing the applications on the main system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |