https://github.com/Mic92/cntr
Copy cntr binary to local directory on the host system:
docker cp $(docker create --name cntr lukaszlach/cntr):/usr/bin/cntr /usr/bin/cntr
docker rm cntr
Run cntr from inside of the container (cannot make it work for now):
docker run --rm -it \
--pid=host --privileged\
-v /var/run/docker.sock:/var/run/docker.sock \
lukaszlach/cntr attach containerIdOrName
Content type
Image
Digest
Size
1.2 MB
Last updated
about 7 years ago
docker pull lukaszlach/cntr