How docker layout in the system

June 26, 2015 — Leave a comment

Where is the configuration for all of the images and containers as well as the file system?

They are in var/lib/docker. To access var/lib/docker
Cd /var/lib/docker

docker_var_lib

ll will display following information in docker var lib

drwx—— 9 root root 4096 Jun 26 18:33 containers
drwx—— 5 root root 4096 Jun 22 19:16 devicemapper
drwx—— 3 root root 4096 Jun 22 18:13 execdriver
drwx—— 56 root root 12288 Jun 26 18:47 graph
drwx—— 2 root root 4096 Jun 22 18:13 init
-rw-r–r– 1 root root 5120 Jun 26 18:33 linkgraph.db
-rw——- 1 root root 327 Jun 26 18:47 repositories-devicemapper
drwx—— 2 root root 4096 Jun 22 18:13 tmp
drwx—— 2 root root 4096 Jun 22 19:16 trust
drwx—— 2 root root 4096 Jun 22 18:13 volumes

docker_var

No Comments

Be the first to start the conversation!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s