Libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 liberror-perl libfakeroot libgcc-6-dev libgomp1 libisl15 | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svnĪufs-dkms aufs-tools binutils cgroupfs-mount cpp cpp-6 dkms docker-ce fakeroot gcc gcc-6 git git-man libasan3 Liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg git-daemon-run Linux-headers-4.9.0-5-amd64 linux-headers-4.9.0-5-common linux-headers-amd64 linux-kbuild-4.9 linux-libc-devĪufs-dev binutils-doc cpp-doc gcc-6-locales python3-apport menu gcc-multilib autoconf automake libtool flexīison gdb gcc-doc gcc-6-multilib gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg Liblsan0 libltdl7 libmpc3 libmpfr4 libmpx2 libquadmath0 libtsan0 libubsan0 linux-compiler-gcc-6-x86 Libc-dev-bin libc6-dev libcc1-0 libcilkrts5 liberror-perl libfakeroot libgcc-6-dev libgomp1 libisl15 libitm1 The following additional packages will be installed:Īufs-dkms aufs-tools binutils cgroupfs-mount cpp cpp-6 dkms fakeroot gcc gcc-6 git git-man libasan3 libatomic1 $ wget -quiet -output-document - | sudo apt-key add. $ echo "deb stretch stable" | sudo tee /etc/apt//docker.listĭownload and import public key used to sign this repository. 26565 files and directories currently installed.) Selecting previously unselected package apt-transport-https. Get:1 stretch/main amd64 apt-transport-https amd64 1.4.8 The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 1 not upgraded.Īfter this operation, 243 kB of additional disk space will be used. $ sudo apt-get install apt-transport-https Install apt-transport-https package to enable HTTPS protocol for apt. Please do share your feedback and queries in the below comments section.Install docker on Debian Stretch to take advantage of the lightweight virtualization.ĭescription:ĝebian GNU/Linux 9.3 (stretch) That’s all from this guide,I hope you have found it informative and useful. In case you are done with docker testing and want to remove docker from your system completely then run following commands to uninstall it, $ sudo apt purge docker-ce docker-ce-cli containerd.io \ĭocker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras -y To allow local user to run docker commands without sudo, add the user to docker group (secondary group) using usermod command. 5) Allow Local User to Run Docker Command In order to spin up ‘hello-world’ container, run below docker command with sudo $ sudo docker run hello-worldĪbove informational message confirms that docker is working properly. To verify the docker installation, try to spin up a ‘ hello-world’ container and see whether informational message is displayed or not. $ sudo systemctl start docker 4) Verify Docker Installation In case docker service is not running then try to start its service using beneath command. Verify its version and service status by running, $ sudo docker versionĪbove output confirm that, docker service is up and running. Once the docker is installed successfully then it’s service starts automatically. $ sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y Now it’s time to install Docker itself, run the following apt commands to install docker engine, $ sudo apt update Sudo tee /etc/apt//docker.list > /dev/null etc/os-release & echo "$VERSION_CODENAME")" stable" | \ Next, run echo command to add official docker repository. $ sudo chmod a+r /etc/apt/keyrings/docker.gpg $ curl -fsSL | sudo gpg -dearmor -o /etc/apt/keyrings/docker.gpg $ sudo install -m 0755 -d /etc/apt/keyrings To add docker repository, let’s first add Docker’s GPG key via following curl command. $ sudo apt install -y ca-certificates curl gnupg 2) Add Docker Repository Login to your Debian 12 system, open the terminal and run below command to update apt package index $ sudo apt update
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |