We have seen flakiness in docker startups for docker-in-docker Feature where docker is not running in the container. See #634 and #660.
#669 adds few retry mechanisms to attempt to fix this issue.
/usr/local/share/docker-init.sh which starts/retries dockerd is added to the entrypoint property for the Feature. This command runs in the background and is not a blocking script for the container startup. Since it's in the background, onCreateCommand/postCreateCommand/postStartCommand could all start executing before docker is fully running. If it takes docker too long, that could introduce flakiness in those lifecycle scripts.
Opened devcontainers/spec#299 which requests a new semantics to have "blocking" entrypoints that the CLI waits for. This way we can ensure that docker is already up and running for the mentioned ^ lifecycle scripts and is 💯 available in the container.
This issue tracks updates to dnd Feature, when blocking entrypoint is available.
Blocked by -
We have seen flakiness in docker startups for
docker-in-dockerFeature where docker is not running in the container. See #634 and #660.#669 adds few retry mechanisms to attempt to fix this issue.
/usr/local/share/docker-init.shwhich starts/retries dockerd is added to theentrypointproperty for the Feature. This command runs in the background and is not a blocking script for the container startup. Since it's in the background,onCreateCommand/postCreateCommand/postStartCommandcould all start executing before docker is fully running. If it takes docker too long, that could introduce flakiness in those lifecycle scripts.Opened devcontainers/spec#299 which requests a new semantics to have "blocking" entrypoints that the CLI waits for. This way we can ensure that docker is already up and running for the mentioned ^ lifecycle scripts and is 💯 available in the container.
This issue tracks updates to dnd Feature, when blocking entrypoint is available.
Blocked by -