mardi 14 avril 2020

ZFS storage driver for docker

This is used to have a docker setup directly on Proxmox 6 with ZFS 


stop the docker service

service docker stop


delete all the docker stuff

rm -rf /var/lib/docker


create a zfs pool dedicated for docker
  
zfs create -o mountpoint=/var/lib/docker rpool/docker


create the systemd entry for the docker service

mkdir /etc/systemd/system/docker.service.d


setup the driver for docker

nano /etc/systemd/system/docker.service.d/storage-driver.conf


[Service]
ExecStart=
ExecStart=/usr/bin/dockerd --storage-driver=zfs -H fd://



then restart daemons and docker

systemctl daemon-reload
service docker start



1 commentaire:

  1. Top 5 Casinos Near Denver - MapYRO
    Top 5 김해 출장안마 Casinos Near Denver · The 경기도 출장샵 Boulder Canyon · Golden Gate Casino · 의정부 출장안마 Casimba · Horseshoe Casino · 충주 출장샵 Hard Rock Hotel & Casino · Hollywood Casino 안동 출장안마 &

    RépondreSupprimer