Docker on archlinux/rapberry pi



Installation du package via pacman : 


pacman -Sy docker

Configuration du daemon.json : 


#vim /etc/docker/daemon.json

{

 "data-root": "/mnt/disk0/docker",

 "storage-driver": "overlay2"

}

Configuration de systemd:


#export EDITOR=vim

#systemctl edit docker

[Unit]
After=docker.socket
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock

Lancement :


systemctl start docker

Tests:


Client:
 Version:           18.09.6-ce
 API version:       1.39
 Go version:        go1.12.4
 Git commit:        481bc77156
 Built:             Sat May 11 07:20:06 2019
 OS/Arch:           linux/arm
 Experimental:      false

Server:
 Engine:
  Version:          18.09.6-ce
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.12.4
  Git commit:       481bc77156
  Built:            Sat May 11 07:19:13 2019
  OS/Arch:          linux/arm
  Experimental:     false

Commentaires