This repository was archived by the owner on Jul 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
docker-machine does not wait for systemd reload #4865
Copy link
Copy link
Open
Description
I've been testing docker-machine recently and I've encountered a problem. Apparently docker-machine does not wait for command execution during docker setup.
Driver: Openstack
System: Debian 10
docker-machine version 0.16.2, build bd45ab1
Docker version 20.10.3, build 48d30b5
Process from docker-machine perspective (without debug)
Running pre-create checks...
Creating machine...
(test-docker-machine-1) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with debian...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
The issue - host perspective
2021-02-02T15:24:45.286308+01:00 test-docker-machine-1.novalocal systemd[1]: Stopping Docker Application Container Engine...
2021-02-02T15:24:45.292407+01:00 test-docker-machine-1.novalocal systemd[1]: docker.service: Succeeded.
2021-02-02T15:24:45.293015+01:00 test-docker-machine-1.novalocal systemd[1]: Stopped Docker Application Container Engine.
2021-02-02T15:24:46.811691+01:00 test-docker-machine-1.novalocal systemd[1]: Starting Docker Application Container Engine...
2021-02-02T15:24:46.896541+01:00 test-docker-machine-1.novalocal systemd[1]: var-lib-docker-overlay2-check\x2doverlayfs\x2dsupport939803425-merged.mount: Succeeded.
2021-02-02T15:24:49.377698+01:00 test-docker-machine-1.novalocal systemd[1]: var-lib-docker-overlay2-opaque\x2dbug\x2dcheck644985868-merged.mount: Succeeded.
2021-02-02T15:24:49.425912+01:00 test-docker-machine-1.novalocal systemd[1]: Started Docker Application Container Engine.
2021-02-02T15:24:49.925524+01:00 test-docker-machine-1.novalocal systemd[1]: Reloading.
2021-02-02T15:24:50.047452+01:00 test-docker-machine-1.novalocal systemd[1]: docker.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Current behaviour:
docker.service is stopped
docker.service is started
systemd is reloaded
Expected behaviour:
docker.service is stopped
systemd is reloaded
docker.service is started
Metadata
Metadata
Assignees
Labels
No labels