I have 11 containers under docker, and they all run with “–restart=always”. So when docker-daemon service started, all container start automatically at once.
One day after os reboot, the os stucked while starting docker-daemon. Now I disable docker-daemon service started and the os work fine.
To solve the problem below:
- How can I disable the container start automatically when docker-daemon not started? modify the container config file to disable? where is the config file location? (docker-daemon start first will make os stucked again)
- Or is there a way to start docker-daemon on “safe-mode” (like windows safe-mode) and all container don’t started automatically?