Difference between revisions of "/var/lib/docker/"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/questions/19335444/how-do-i-assign-a-port-mapping-to-an-existing-docker-container?rq=1
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[docker info]] | grep Dir | |
[[/var/lib/]] | [[/var/lib/]] | ||
− | [[/var/lib/docker/ | + | [[/var/lib/docker/builder/]] |
+ | [[/var/lib/docker/buildkit/]] | ||
[[/var/lib/docker/containers/]] | [[/var/lib/docker/containers/]] | ||
+ | [[/var/lib/docker/image/]] | ||
+ | [[/var/lib/docker/network/]] | ||
[[/var/lib/docker/overlay2/]] | [[/var/lib/docker/overlay2/]] | ||
+ | [[/var/lib/docker/plugins/]] | ||
+ | [[/var/lib/docker/runtimes/]] | ||
+ | [[/var/lib/docker/swarm/]] | ||
+ | [[/var/lib/docker/tmp/]] | ||
+ | [[/var/lib/docker/trust/]] | ||
+ | [[/var/lib/docker/volumes/]] | ||
+ | |||
+ | |||
[[/var/lib/]]docker/containers/[hash_of_the_container]/[[hostconfig.json]] <ref>https://stackoverflow.com/questions/19335444/how-do-i-assign-a-port-mapping-to-an-existing-docker-container?rq=1</ref> | [[/var/lib/]]docker/containers/[hash_of_the_container]/[[hostconfig.json]] <ref>https://stackoverflow.com/questions/19335444/how-do-i-assign-a-port-mapping-to-an-existing-docker-container?rq=1</ref> | ||
Line 14: | Line 25: | ||
* <code>[[docker system df]]</code> | * <code>[[docker system df]]</code> | ||
* <code>[[docker info]]</code> | * <code>[[docker info]]</code> | ||
+ | * <code>/bin/[[truncate]] -s 0 [[/var/lib/docker/containers/]]*/*-json.log</code> | ||
== See also == | == See also == | ||
− | * {{ | + | * {{dockerd}} |
− | * {{ | + | * {{docker info}} |
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 10:53, 14 September 2023
docker info | grep Dir
/var/lib/ /var/lib/docker/builder/ /var/lib/docker/buildkit/ /var/lib/docker/containers/ /var/lib/docker/image/ /var/lib/docker/network/ /var/lib/docker/overlay2/ /var/lib/docker/plugins/ /var/lib/docker/runtimes/ /var/lib/docker/swarm/ /var/lib/docker/tmp/ /var/lib/docker/trust/ /var/lib/docker/volumes/
/var/lib/docker/containers/[hash_of_the_container]/hostconfig.json [1]
Configured in: /etc/docker/daemon.json
Related terms[edit]
docker system df
docker info
/bin/truncate -s 0 /var/lib/docker/containers/*/*-json.log
See also[edit]
- Docker: dockerd, docker (command), dockerd-ce (dockerd), docker-proxy, Docker Kubernetes Service (DKS),
/var/lib/docker/, /var/run/docker.sock
, 9323, /etc/docker/daemon.json - Docker:
docker info
docker stats, /var/lib/docker/
Advertising: