mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
ctop is awesome
This commit is contained in:
@@ -16,6 +16,14 @@ SSH to the host node, and attach to the container using ```docker exec -it <cont
|
||||
|
||||
Need to see what a particular container is doing? Run ```docker service logs -f <stack name>_<container name>``` to watch a particular service. As the service dies and is recreated, the logs will continue to be displayed.
|
||||
|
||||
## Visually monitoring containers with ctop
|
||||
|
||||
For a visual "top-like" display of your container's activity (_as well as a [detailed per-container view](https://github.com/bcicen/ctop/blob/master/_docs/single.md)_), try using [ctop](https://github.com/bcicen/ctop).
|
||||
|
||||
To execute, simply run ```docker run --rm -ti --name ctop -v /var/run/docker.sock:/var/run/docker.sock quay.io/vektorlab/ctop:latest```
|
||||
|
||||
Example:
|
||||

|
||||
|
||||
## Chef's Notes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user