Skip to content

Compose 'up' command fails after second call #1176

@jlesquembre

Description

@jlesquembre

With this simple .yml file:

web:
  image: alpine:3.1
  command: echo "Hello World"

First time you run docker-compose up, everything works as expected:

Creating test_web_1...
Attaching to test_web_1
web_1 | Hello World
test_web_1 exited with code 0
Gracefully stopping... (press Ctrl+C again to force)

But second time, compose doesn't display any output and never exits:

Recreating test_web_1...
Attaching to

Probably related to #753

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions