11/14/2023 0 Comments Docker install ubuntu![]() ![]() If you want to install a specific Docker version, first list all available Docker versions using the following command: apt list -a docker-ce You should get the following output: Docker version 20.10.2, build 2291f61 Step 5 – Install a Specific Docker Version Once the Docker has been installed, you can verify the installed version of Docker with the following command: docker -version This command will install the latest version of Docker from the Docker official repository. Once the repository is updated, you can install the Docker on Ubuntu by running the following command: apt-get install docker-ce -y Once the repository is added, update the repository cache with the following command: apt-get update -y Step 3 – Install Docker Ubuntu Next, add the Docker official repository using the following command: echo "deb $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list Next, you will need to import the GPG key and add the Docker repository to your system.įirst, import the GPG key with the following command: curl -fsSL | gpg -dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg You can install them by running the following command: apt-get install apt-transport-https ca-certificates curl software-properties-common gnupg2 -y Step 2 – Add Docker Official Repository Step 1 – Install Required Dependenciesįirst, you will need to install some prerequisite packages in your system. In this section, we will show you how to install Docker on Ubuntu from Docker’s official repository. So it is always recommended to install Docker from Docker’s official repository. The latest version of Docker is not included in the Ubuntu default repository. You can install Docker from the Ubuntu default repository or from the Docker’s official repository. There are two ways to install Docker on Ubuntu 20.04/22.04. ![]() A root password is configured on your server.A server running Ubuntu 20.04/Ubuntu 22.04.You can read my guide on The 8 Best Docker Hosting Platforms in 2023. If you want to host Docker on Cloud and don’t know how to choose the best Cloud hosting provider. Docker has become one of the most important parts of modern software development and DevOps pipelines. Docker is a free, open-source and cross-platform containerization tool that helps you to deploy and run the application in an isolated environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |