docker info
Vim
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
$ docker info Client: Docker Engine - Community Version: 27.1.1 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.16.1 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.29.1 Path: /usr/libexec/docker/cli-plugins/docker-compose Server: Containers: 3 Running: 2 Paused: 0 Stopped: 1 Images: 2 Server Version: 27.1.1 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: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc version: v1.1.13-0-g58aa920 init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 6.5.0-1015-raspi Operating System: Ubuntu 23.10 OSType: linux Architecture: aarch64 CPUs: 4 Total Memory: 7.625GiB Name: ubuntu ID: faee7a4d-ba87-494e-a6c7-9fa42af61d9c Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false |
docker images : 로컬에 있는 Docker 이미지를 나열합니다.
Vim
1 2 3 4 5 6 7 |
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.elastic.co/kibana/kibana 8.0.0-arm64 7b4418810292 2 years ago 946MB kibana 8.0.0 7b4418810292 2 years ago 946MB elasticsearch 8.0.0 53497d8c2a63 2 years ago 646MB |
docker rmi mage:tag 로컬에 있는 Docker 이미지를 삭제
Vim
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
~$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.elastic.co/kibana/kibana 8.0.0-arm64 7b4418810292 2 years ago 946MB kibana 8.0.0 7b4418810292 2 years ago 946MB elasticsearch 8.0.0 53497d8c2a63 2 years ago 646MB ~$ sudo docker rmi docker.elastic.co/kibana/kibana:8.0.0-arm64 Untagged: docker.elastic.co/kibana/kibana:8.0.0-arm64 Untagged: docker.elastic.co/kibana/kibana@sha256:56fff0d7ccd43e70e677ace6da48553f5f19570e496981cf93778161c05db264 ~$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE kibana 8.0.0 7b4418810292 2 years ago 946MB elasticsearch 8.0.0 53497d8c2a63 2 years ago 646MB |