Steps to install Docker on Manjaro 16.10--轉

c3tc3tc3t發表於2018-07-13

https://manjaro-tutorial.blogspot.com/2016/12/how-to-install-docker-on-manjaro-1610.html

Open Terminal console and type the following command to install Docker

sudo pacman -S docker

Output:

[manjaro@manjaro-pc ~]$ sudo pacman -S docker
[sudo] password for manjaro: 
resolving dependencies...
looking for conflicting packages...

Packages (2) bridge-utils-1.6-1  docker-1:1.12.3-1

Total Download Size:   16,37 MiB
Total Installed Size:  75,29 MiB

:: Proceed with installation? [Y/n] y

Start Docker

sudo systemctl start docker

Check Docker status

sudo systemctl status docker

If docker is up and running, you will see the following status message:

● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor pres
   Active: active (running) since Sun 2016-12-25 16:54:17 WIB; 14s ago
     Docs: 
https://docs.docker.com
Main PID: 2617 (dockerd)
    Tasks: 17 (limit: 4915)
   Memory: 15.8M
      CPU: 424ms
   CGroup: /system.slice/docker.service
           ├─2617 /usr/bin/dockerd -H fd://
           └─2638 docker-containerd -l unix:///var/run/docker/libcontainerd/dock

To start docker on boot, use this command

sudo systemctl enable docker

相關文章