Docker開啟Remote API 2375阜

##Enable TCP port 2375 for external connection to Docker

https://gist.github.com/cloverdefa/03fdda198830e518f7f22d4db4a2a59a

1. 建立檔案 /etc/docker/daemon.json
檔案內容:

{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}

2. 建立檔案 /etc/systemd/system/docker.service.d/override.conf
檔案內容:

[Service] 
ExecStart= 
ExecStart=/usr/bin/dockerd

3. 重新載入 systemd daemon:

systemctl daemon-reload

4. 重新啟動 docker服務:

systemctl restart docker.service