docker-compose kill and rm always return 0
Bug #1620255 reported by
Ara Pulido
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Docker snap |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
docker-compose kill and rm commands act a bit differently than their counterparts in docker.
docker-compose kill and rm always return "0" (unless the docker service isn't running), so we should check more in the compose-single job.
When we kill the container we should do a "docker ps -a" and check that our container is there and its status is "Exited"
When we rm the container we should do a "docker ps -a" and check that our container is not there.
Related branches
Changed in plainbox-provider-docker: | |
status: | New → Fix Committed |
Changed in plainbox-provider-docker: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.