You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Olivier Sallou <ol...@irisa.fr> on 2015/05/26 15:44:03 UTC

Docker containers not removed

Hi,
I could make a test scrip to submit tasks in Docker containers.

My tasks ends in FINISHED state, and everything goes fine.

The point is the container is not removed (can be seen with a docker ps
-a), though documentation states:

" 6. On container exit or containerizer destroy, stop and remove the
docker container."

even after a few minutes, they are still present.

am i missing something?

Thanks

Olivier


-- 


gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


Re: Docker containers not removed

Posted by Adam Bordelon <ad...@mesosphere.io>.
Are you running mesos-slave itself inside a docker container? We recently
fixed problems with this.
See https://issues.apache.org/jira/browse/MESOS-2115

On Tue, May 26, 2015 at 6:54 AM, Olivier Sallou <ol...@irisa.fr>
wrote:

>
>
> On 05/26/2015 03:44 PM, Olivier Sallou wrote:
> > Hi,
> > I could make a test scrip to submit tasks in Docker containers.
> >
> > My tasks ends in FINISHED state, and everything goes fine.
> >
> > The point is the container is not removed (can be seen with a docker ps
> > -a), though documentation states:
> >
> > " 6. On container exit or containerizer destroy, stop and remove the
> > docker container."
> >
> > even after a few minutes, they are still present.
> >
> > am i missing something?
> I just found somewhere in config:
>
> --docker_remove_delay=VALUE
>
>
> default being 6 hrs..... I will wait and check !
> >
> > Thanks
> >
> > Olivier
> >
> >
>
> --
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>

Re: Docker containers not removed

Posted by Olivier Sallou <ol...@irisa.fr>.

On 05/26/2015 03:44 PM, Olivier Sallou wrote:
> Hi,
> I could make a test scrip to submit tasks in Docker containers.
>
> My tasks ends in FINISHED state, and everything goes fine.
>
> The point is the container is not removed (can be seen with a docker ps
> -a), though documentation states:
>
> " 6. On container exit or containerizer destroy, stop and remove the
> docker container."
>
> even after a few minutes, they are still present.
>
> am i missing something?
I just found somewhere in config:

--docker_remove_delay=VALUE


default being 6 hrs..... I will wait and check !
>
> Thanks
>
> Olivier
>
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438