- Checking Unix process > htop
- Docker container resource usage > docker stats
- Running containers > docker ps
- Clean all unused containers volumes > docker system prune
- Check log file size of docker containers > du -chs /var/lib/docker/containers/*/*json.log
- Clean log of docker containers without container restart > truncate -s 0 /var/lib/docker/containers/*/*-json.log;
Saturday, January 9, 2021
Usefull commands to manage Docker
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment