博文

目前显示的是 三月, 2018的博文

docker use daemon.json and override default systemd

sudo systemctl edit docker
[Service] ExecStart=
ExecStart=/usr/bin/dockerd
 sudo vim /etc/docker/daemon.json
{

"storage-driver": "overlay2",
"registry-mirrors": ["https://"],
"hosts": ["fd://", "tcp://0.0.0.0:2376"]

}