Skip to content

docker compose hangs, delays for a several minutes before starting, or returns a timeout error #1237

Description

@ilude

Expected behavior

docker compose to start containers as normal

Actual behavior

docker compose hangs, delays for a several minutes before starting, or returns a timeout error (shown below)

The images in the compose file do not appear to matter I am seeing this primarily on a docker project that is much bigger. But I was able to reproduce it using this off the shelf image.

Information

  • Diagnostic ID from "Diagnose & Feedback"
    78828808-B21B-41A9-B9CE-AA83454ECA3D/2017-10-23_16-52-04

  • host distribution and version
    Major Minor Build Revision


10 0 15063 0

docker-compose.txt

Steps to reproduce the behavior

  1. docker-compose up
  2. ctrl-c
  3. docker-compose up

either hangs or Cannot start service dns: containerd: container did not start before the specified timeout

Restarting docker will allow things to startup normally. The issue is intermittent after stopping docker compose and attempting to restart it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions