docker system prune
- очистить всё
docker stats --format "{{.CPUPerc}}\t{{.MemUsage}}\t{{.Name}}"
docker exec -i -t NAME /bin/bash
docker exec -i -t NAME sh
docker ps --filter "status=exited" | grep 'ago' | awk '{print $1}' | xargs --no-run-if-empty docker rm
docker volume prune
docker exec -it NAME /bin/bash
export TERM=xterm
docker cp dockerx:/etc/nginx/some.conf /opt/result.txt