Install docker debian 105/2/2023 ![]() ![]() To verify the docker installation, try to deploy hello-world container by running beneath commands :~$ docker -versionĭocker version 19.03.13, build 4484c46d9d ![]() Linuxbuzz cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner docker Run ‘id -nG’ command to verify whether user is part of docker group, :~$ id -nG If you wish to manage docker containers with your local user then add that user to docker group, in my case local user is linuxbuzz, run below usermod command: :~$ sudo usermod -aG docker $ Step 4) Test and Verify Docker Installation Perfect, above output confirms that docker service is up and running. Once docker package and its dependencies are installed, run systemctl command to verify the status its service, :~$ sudo systemctl status docker Run below apt command to install latest version of docker, :~$ sudo apt -y install docker-ce docker-ce-cli containerd.io ![]() Now, we are all set to install docker in the next step. Update apt packages index by running, :~$ sudo apt update Step 2) Configure Docker CE repositoryĮxecute the beneath command to configure official docker repository, :~$ sudo add-apt-repository "deb $(lsb_release -cs) stable"Īdd GPG key to docker repository, run :~$ curl -fsSL | sudo apt-key add. :~$ cat /etc/apt/sources.listĪfter adding the missing repository, run ‘ apt update’ command. ![]() Note: In case you are not able to install above dependencies then make sure following default repositories are enabled and configured. Install docker dependencies by running following apt command, :~$ sudo apt -y install apt-transport-https ca-certificates curl gnupg software-properties-common ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |