Open pteichner opened 7 years ago
Followed instructions from here: https://coreos.com/os/docs/latest/customizing-docker.html And here: https://coreos.com/os/docs/latest/mounting-storage.html
@pteichner can you please check ignition logs? The configuration you pasted is invalid (missing closing }
) but I'm not sure if that's just a copy-paste mistake.
Also, this works with socket activation, i.e. you should hit the port with -H tcp://<addr>:2375
to see docker engine running.
@lucab sorry I've missed the copy of the closing brace.
Jun 23 09:20:46 localhost ignition[477]: files: op(6): [finished] processing unit "docker.service"
Jun 23 09:20:46 localhost ignition[477]: files: op(8): [started] processing unit "docker-tcp.socket"
Jun 23 09:20:46 localhost ignition[477]: files: op(8): op(9): [started] writing unit "docker-tcp.socket" at "etc/systemd/system/docker-tcp.socket"
Jun 23 09:20:46 localhost ignition[477]: files: op(8): op(9): [finished] writing unit "docker-tcp.socket" at "etc/systemd/system/docker-tcp.socket"
Jun 23 09:20:46 localhost ignition[477]: files: op(8): [finished] processing unit "docker-tcp.socket"
Jun 23 09:20:46 localhost ignition[477]: files: op(a): [started] enabling unit "docker-tcp.socket"
Jun 23 09:20:46 localhost ignition[477]: files: op(a): [finished] enabling unit "docker-tcp.socket"
core@host-192-168-1-203 ~ $ docker -H tcp://127.0.0.1:2375 ps Cannot connect to the Docker daemon. Is the docker daemon running on this host?
core@host-192-168-1-203 ~ $ sudo netstat -antp | grep LIST
tcp6 0 0 :::22 :::* LISTEN 1/systemd
Issue Report
Bug
When passing ignition config the service appear unavailable
Container Linux Version
Environment
OpenStack private cloud
Expected Behavior
Docker socket should work locally and remotely
Actual Behavior
Unable to connect to Docker remote or local
Reproduction Steps
Other Information