Closed glinders closed 5 years ago
Interesting. This might have been fixed by e6a675f338a895d93208d1f291d1cee901bf0e32 which was not in 1.6.2. You can try out the current script here: https://github.com/docker/compose/blob/master/script/run/run.sh to see if that fixes the issue for you.
If it doesn't I'm not sure what we can do about it.
That's the same version I'm using: I've diffed both files and they are the same.
I'm not sure how to solve this. The last line of that script is exec docker run
, so it should be up to the docker cli to do the right thing. I wonder if we can reproduce this problem running a different image with a similar container config.
I get the following error:
Instead of deleting the
docker-compose
container (as it normally does), it leaves it running: