Docker相关

docker相关配置

linux下

先挖个坑,由于想在新电脑上配置一下docker,但之前配置的过程已经忘了,下次配置回来记录一下,下面是之前的一些相关信息。

(base) lenovo@lenovo-ThinkStation-P3-Tower:~$ cat /etc/docker/daemon.json
{
    "registry-mirrors": [
        "https://dockerproxy.com",
        "https://docker.mirrors.ustc.edu.cn",
        "https://docker.nju.edu.cn",
"https://docker.1ms.run"
    ]
}
(base) lenovo@lenovo-ThinkStation-P3-Tower:~$ sudo docker info
[sudo] lenovo 的密码: 
Client:
 Version:    26.1.3
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.27.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 9
  Running: 7
  Paused: 0
  Stopped: 2
 Images: 8
 Server Version: 26.1.3
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 
 runc version: 
 init version: 
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.8.0-52-generic
 Operating System: Ubuntu 22.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 32
 Total Memory: 62.42GiB
 Name: lenovo-ThinkStation-P3-Tower
 ID: 0d11343a-a6a5-44f5-a16b-cdcc456524ed
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http://127.0.0.1:7890
 HTTPS Proxy: http://127.0.0.1:7890
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Registry Mirrors:
  https://dockerproxy.com/
  https://docker.mirrors.ustc.edu.cn/
  https://docker.nju.edu.cn/
  https://docker.1ms.run/
 Live Restore Enabled: false
posted @ 2025-04-28 19:10  BuerH  阅读(25)  评论(0)    收藏  举报