Skip to content

docker_compose doesn't shutdown container after describe end #8

@estahn

Description

@estahn

Dockerspec Version

0.4.1

Ruby Version

2.4

Platform Details

Mac

Scenario

Run docker_compose from the same file in 2 different specs.

test1_spec -> docker_compose(default.yml)
test2_spec -> docker_compose(default.yml)

Steps to Reproduce

Expected Result

After describe docker_compose() do ... end the containers should shutdown.

Actual Result

Containers stay active until rspec is finished.

Possible Solution

In order to maintain backwards compatibility it might be worth to introduce a new flag shutdown for the docker_compose method.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions