# 查看Docker image在Host上的存储路径
docker info
输出如下,可以查看docker
相关的信息
# Client:
# Context: default
# Debug Mode: false
# Plugins:
# buildx: Docker Buildx (Docker Inc., v0.10.4)
# compose: Docker Compose (Docker Inc., v2.17.2)
# Server:
# Containers: 20
# Running: 1
# Paused: 0
# Stopped: 19
# Images: 4
# Server Version: 20.10.24
# Storage Driver: overlay2
# Backing Filesystem: extfs
# Supports d_type: true
# Native Overlay Diff: true
# userxattr: false
# Logging Driver: json-file
# Cgroup Driver: cgroupfs
# Cgroup Version: 1
# Plugins:
# Volume: local
# Network: bridge host ipvlan macvlan null overlay
# Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
# Swarm: inactive
# Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
# Default Runtime: runc
# Init Binary: docker-init
# containerd version: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
# runc version:
# init version: de40ad0
# Security Options:
# apparmor
# seccomp
# Profile: default
# Kernel Version: 5.15.0-78-generic
# Operating System: Ubuntu Core 22
# OSType: linux
# Architecture: x86_64
# CPUs: 4
# Total Memory: 15.51GiB
# Name: lx-rob
# ID: JVKY:EQCP:KH5G:L6MM:65KC:DG6K:DKZO:PT5W:QH4T:DJIJ:MTUK:KZED
# Docker Root Dir: /var/snap/docker/common/var-lib-docker
# Debug Mode: false
# Registry: https://index.docker.io/v1/
# Labels:
# Experimental: false
# Insecure Registries:
# 127.0.0.0/8
# Live Restore Enabled: false