Installing Docker on Arch Linux
This shall be simply:
[root@archt20 ~]# pacman -S docker
resolving dependencies...
looking for conflicting packages...
Packages (4) bridge-utils-1.5-2 containerd-0.2.2-1 runc-0.1.1-2 docker-1:1.11.2-2
Total Download Size: 11.99 MiB
Total Installed Size: 60.29 MiB
:: Proceed with installation? [Y/n]
[root@archt20 ~]# pacman -S docker
resolving dependencies...
looking for conflicting packages...
Packages (4) bridge-utils-1.5-2 containerd-0.2.2-1 runc-0.1.1-2 docker-1:1.11.2-2
Total Download Size: 11.99 MiB
Total Installed Size: 60.29 MiB
:: Proceed with installation? [Y/n]
...
Optional dependencies for docker
btrfs-progs: btrfs backend support [installed]
lxc: lxc backend support
:: Running post-transaction hooks...
Note that Docker service is managed by systemd and following file is service entry point: /lib/systemd/systemdocker.service. Also it seems that /var/lib/docker is not created by the installer, what would make easy "factory reset" easy, just by rm -rf /var/lib/docker:
[root@archt20 system]# ls -a /var/lib/
. .. arpd dbus dhcpcd ex ip6tables iptables krb5kdc logrotate.status machines misc pacman systemd
The final steps - for instalation - is simply to enable docker: systemctl enable docker
Comments
Post a Comment