I am having problems removing containers after introducing cadvisor - 
https://github.com/google/cadvisor/issues/771

All my scripts that removes containers using  Ansible docker_container 
module (ansible 2.2.1.0) are now failing because of this. I have added 
force_kill option, but it does not seems to be able to kill the containers, 
not at least in this situation.


    - name: Delete  docker containers
      docker_container:
        name: "service1"
        force_kill: true
        keep_volumes: false
        state: absent
 

I am able to remove these containers via a plain simple docker command - 
docker stop and then docker rm service1 -fv

So my question is - what exactly is force_kill doing and why is it not able 
to behave similar to docker daemon's force kill option ?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/90594186-4c10-4d68-9dfb-53b6088747a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to