Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock3/dev/install-docker-engineer-on-docker"

< Rock3‎ | dev
(Created page with "{{rock3_header}} {{Languages|rock3/dev/install-docker-engineer-on-docker}} === Install Docker Engine on Debian ===")
 
(1.Install Docker Engine on Debian)
 
(5 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}}
  
=== Install Docker Engine on Debian ===
+
=== 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

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