Suresh Prajapati
Aug 22, 2017 · 1 min read

Thanks Justin Garrison for the nice article . I was trying the same .

But I am getting this error

root@workers:~# docker ps --format "{{.Names}}"
varnish-worker2-18480
root@workers:~# docker run -it --rm --pid=container:varnish-worker2-18480 --cap-add sys_admin --cap-add sys_ptrace strace
docker: --pid: invalid PID mode.
See 'docker run --help'.
root@workers:~#

read the documentation as well . No getting what’s wrong ehre.

)
    Suresh Prajapati

    Written by

    DevOps @ Zooplus

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade