Skip to content

ci/windows: workaround for docker errors inside windows runners#2252

Open
bindea-cristian wants to merge 1 commit intomainfrom
windows-docker-workflow
Open

ci/windows: workaround for docker errors inside windows runners#2252
bindea-cristian wants to merge 1 commit intomainfrom
windows-docker-workflow

Conversation

@bindea-cristian
Copy link
Copy Markdown
Contributor

This PR is the recommended workaround for the issue described here: actions/runner-images#13729

Currently there is a chance that the Windows Runner starts with the Docker Service turned off due to an Hyper-V error. This results in an workflow fail when trying to execute any docker command.

failed to connect to the docker API at npipe:////./pipe/docker_engine; check if the path is correct and if the daemon is running: open //./pipe/docker_engine: The system cannot find the file specified.

This commit checks for Docker Service status and restarts it if is not running.

 - if the docker service is not running restart the process

Signed-off-by: Bindea Cristian <cristian.bindea@analog.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant