Difference between revisions of "Rock3/dev/install-docker-engineer-on-docker"
RadxaYuntian (Talk | contribs) (→1.Install Docker Engine on Debian) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{Languages|rock3/dev/install-docker-engineer-on-docker}} | {{Languages|rock3/dev/install-docker-engineer-on-docker}} | ||
− | === 1.Install Docker | + | === 1.Install Docker on Debian === |
− | + | ||
− | + | ||
− | + | ||
sudo apt-get update | sudo apt-get update | ||
− | sudo apt-get install | + | sudo apt-get install docker.io |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
=== 2 Test Docker=== | === 2 Test Docker=== | ||
sudo docker run hello-world | sudo docker run hello-world | ||
− | |||
+ | === 3 Check docker service status === | ||
sudo systemctl status docker | sudo systemctl status docker | ||
Latest revision as of 03:25, 16 March 2023
1.Install Docker on Debian
sudo apt-get update sudo apt-get install docker.io
2 Test Docker
sudo docker run hello-world
3 Check docker service status
sudo systemctl status docker
And it shows this.
● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e Active: active (running) since Thu 2022-07-14 15:24:57 UTC; 4min 48s ago Docs: https://docs.docker.com Main PID: 5632 (dockerd) Tasks: 10 Memory: 37.4M CGroup: /system.slice/docker.service └─5632 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/contain