Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 416 Bytes

docker.md

File metadata and controls

19 lines (11 loc) · 416 Bytes

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