Difference between revisions of "/var/lib/docker/"

From wikieduonline
Jump to navigation Jump to search
Line 27: Line 27:
 
* <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 ==

Revision as of 08:22, 9 February 2023

This article is a Draft. Help us to complete it.
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

See also

  • https://stackoverflow.com/questions/19335444/how-do-i-assign-a-port-mapping-to-an-existing-docker-container?rq=1
  • Advertising: