[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Deleting a pod sometimes deletes the docker container and sometimes it doesn't



When you delete a pod, its containers should **always** be deleted. If they are not, this is a bug.

Could you please elaborate what use case(s) you have for keeping the containers around?

Thanks,
Andy

On Mon, Sep 19, 2016 at 5:09 AM, v <vekt0r7 gmx net> wrote:
Hello,

we have an issue with docker/openshfit.
With Openshift 1.1.4 and Docker 1.8.2 we can delete a pod via "oc delete po" and the docker container is only stopped but not deleted. That means the container is still visible via "docker ps -a", /var/lib/docker/containers/[hash] still persits, "docker logs" still works etc.

With Openshift 1.1.6 and Docker 1.9.1 the docker container is sometimes DELETED when we delete a pod via "oc delete po" and sometimes it is just stopped like with Openshift 1.1.4/Docker 1.8.2.

Is there any way we can influence this? Ideally we would like "oc delete po" to just stop the pod but not delete it.

Regards
v


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]