![]() Sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common We will begin the process by updating the package index and installing dependencies needed to add an HTTPS repository. Add Official Docker Repositoryīefore we can use apt to install Docker, we need to set up the Docker repository. Run the above command even if you are on a fresh install, it’s okay if apt says none of the packages are installed or if it doesn’t recognise any package. Open the terminal by pressing Ctrl+Alt+T then running the following command: sudo apt remove docker docker.io containerd runc docker-engine We need to make sure none of these installed on the system before installing the Docker from the official Docker repository. The old Docker packages were called as docker, docker.io or docker-engine. First, we need to make sure we don’t have any Docker packages installed on our Ubuntu 20.04 system then add the Docker repository and finally install Docker. Thus it is recommended to install Docker using its official repository. The Docker package available on the Ubuntu 20.04 repository might not be the latest one provided by the Docker, also if you face any issues with the installation process or any bugs the Docker community might not be able to help you. Install Docker Using Official Docker Repository In this article, we are going look at how to Install Docker-CE on Ubuntu 20.04 LTS using the official Docker and Ubuntu 20.04 repositories. There are two different versions of Docker available, the Docker Community Edition (Docker-CE) is the free version of Docker and Docker Enterprise Edition (Docker-EE) is for enterprise and business use. ![]() As a result, containers are more resource-friendly but also come with the advantage of isolating the container application from the host OS. ![]() The containerization is a process in which applications, its components, configurations and dependencies are packed in a single file known as containers.Ĭontainers are similar to virtual machines, but instead of running complete OS and all its services, they depend on host OS for the most part. Docker is a popular tool used by DevOps teams to create, deploy and run applications as portable containers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |