系统版本:manjaro deepin
问题描述:由于需要在manjaro上安装docker
问题解决步骤:
sudo pacman -S docker
执行效果:
[sudo] password for mrrobot:
resolving dependencies...
looking for conflicting packages...
Packages (2) bridge-utils-1.6-2 docker-1:18.04.0-1
Total Download Size: 32.78 MiB
Total Installed Size: 159.28 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
bridge-utils-1.6-2-x86_64 15.2 KiB 0.00B/s 00:00 [###################################################] 100%
docker-1:18.04.0-1-x86_64 32.8 MiB 430K/s 01:18 [###################################################] 100%
(2/2) checking keys in keyring [###################################################] 100%
(2/2) checking package integrity [###################################################] 100%
(2/2) loading package files [###################################################] 100%
(2/2) checking for file conflicts [###################################################] 100%
(2/2) checking available disk space [###################################################] 100%
:: Processing package changes...
(1/2) installing bridge-utils [###################################################] 100%
(2/2) installing docker [###################################################] 100%
Optional dependencies for docker
btrfs-progs: btrfs backend support [installed]
lxc: lxc backend support
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
(2/4) Creating system user accounts...
(3/4) Reloading device manager configuration...
(4/4) Arming ConditionNeedsUpdate...
启动docker服务:
sudo systemctl start docker
查看docker服务的状态:
sudo systemctl status docker
设置docker开机启动服务:
systemctl enable docker