reloparctic.blogg.se

Install docker debian 10
Install docker debian 10













Using docker consists of passing it a chain of options and commands followed by arguments. User1 sudo docker Using the Docker Command To apply the new group membership, log out of the server and back in, or type the following: su - user1Ĭonfirm that your user is now added to the docker group by typing: id -nG If you want to avoid typing sudo whenever you run the docker command, add your username to the docker group: sudo usermod -aG docker user1 Memory: 44.2M Executing the Docker Command Without Sudo Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: eĪctive: active (running) since Mon 13:42:34 EDT 1min 56s ago

install docker debian 10

rvice - Docker Application Container Engine.Check that it's running: sudo systemctl status docker The following additional packages will be installed:ĭocker is now installed, the daemon started, and the process enabled to start on boot.

install docker debian 10

Make sure you are about to install from the Docker repo instead of the default Debian repo: apt-cache policy docker-ceįinally, install Docker: sudo apt install docker-ce Next, update the package database with the Docker packages from the newly added repo: sudo apt update

install docker debian 10

Output: curl -fsSL | sudo apt-key add -Īdd the Docker repository to APT sources: sudo add-apt-repository "deb $(lsb_release -cs) stable" Then add the GPG key for the official Docker repository to your system: curl -fsSL | sudo apt-key add. Next, install a few prerequisite packages which let apt use packages over HTTPS: sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common If you're new to Debian and want to quickly get started with basic components such as creating a new sudo user and allowing SSH connection, Check out the following guide on Prerequisites for Debian 10 Installing Dockerįirst, update your existing list of packages: sudo apt update How To Install and Use Docker on Debian 10















Install docker debian 10