Original PR: #1589
Justification:
It's currently supported only when -d isn't provided. It doesn't make sense to automatically remove a container created via docker run -d. There are two reasons why this is implemented this way: 1) we might want to retrieve some kind of exit status or logs before removing the container 2) making this run on the server side is difficult in the current architecture.
I want to be able to do this, so 1 doesn't apply. I don't think it being difficult is a good reason for this restriction if it's actually wanted.
Hence opening this issue.
Original PR: #1589
Justification:
It's currently supported only when -d isn't provided. It doesn't make sense to automatically remove a container created via
docker run -d. There are two reasons why this is implemented this way: 1) we might want to retrieve some kind of exit status or logs before removing the container 2) making this run on the server side is difficult in the current architecture.I want to be able to do this, so 1 doesn't apply. I don't think it being difficult is a good reason for this restriction if it's actually wanted.
Hence opening this issue.