mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00
Add podman image/container inspect man pages
[NO TESTS NEEDED] since this is really a docs change. Concludes: https://github.com/containers/podman/pull/11620 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -17,9 +17,9 @@ var (
|
|||||||
Long: `Displays the low-level information of an image identified by name or ID.`,
|
Long: `Displays the low-level information of an image identified by name or ID.`,
|
||||||
RunE: inspectExec,
|
RunE: inspectExec,
|
||||||
ValidArgsFunction: common.AutocompleteImages,
|
ValidArgsFunction: common.AutocompleteImages,
|
||||||
Example: `podman inspect alpine
|
Example: `podman image inspect alpine
|
||||||
podman inspect --format "imageId: {{.Id}} size: {{.Size}}" alpine
|
podman image inspect --format "imageId: {{.Id}} size: {{.Size}}" alpine
|
||||||
podman inspect --format "image: {{.ImageName}} driver: {{.Driver}}" myctr`,
|
podman image inspect --format "image: {{.ImageName}} driver: {{.Driver}}" myctr`,
|
||||||
}
|
}
|
||||||
inspectOpts *entities.InspectOptions
|
inspectOpts *entities.InspectOptions
|
||||||
)
|
)
|
||||||
|
@ -12,7 +12,7 @@ var (
|
|||||||
networkinspectDescription = `Inspect network`
|
networkinspectDescription = `Inspect network`
|
||||||
networkinspectCommand = &cobra.Command{
|
networkinspectCommand = &cobra.Command{
|
||||||
Use: "inspect [options] NETWORK [NETWORK...]",
|
Use: "inspect [options] NETWORK [NETWORK...]",
|
||||||
Short: "network inspect",
|
Short: "Displays the raw CNI network configuration for one or more networks.",
|
||||||
Long: networkinspectDescription,
|
Long: networkinspectDescription,
|
||||||
RunE: networkInspect,
|
RunE: networkInspect,
|
||||||
Example: `podman network inspect podman`,
|
Example: `podman network inspect podman`,
|
||||||
|
@ -1 +0,0 @@
|
|||||||
.so man1/podman-inspect.1
|
|
@ -1 +0,0 @@
|
|||||||
.so man1/podman-inspect.1
|
|
318
docs/source/markdown/podman-container-inspect.1.md
Normal file
318
docs/source/markdown/podman-container-inspect.1.md
Normal file
@ -0,0 +1,318 @@
|
|||||||
|
% podman-container-inspect(1)
|
||||||
|
|
||||||
|
## NAME
|
||||||
|
podman\-container\-inspect - Display a container's configuration
|
||||||
|
|
||||||
|
## SYNOPSIS
|
||||||
|
**podman container inspect** [*options*] *container* [*container* ...]
|
||||||
|
|
||||||
|
## DESCRIPTION
|
||||||
|
|
||||||
|
This displays the low-level information on containers identified by name or ID. By default, this will render
|
||||||
|
all results in a JSON array. If a format is specified, the given template will be executed for each result.
|
||||||
|
|
||||||
|
## OPTIONS
|
||||||
|
|
||||||
|
#### **--format**, **-f**=*format*
|
||||||
|
|
||||||
|
Format the output using the given Go template.
|
||||||
|
The keys of the returned JSON can be used as the values for the --format flag (see examples below).
|
||||||
|
|
||||||
|
#### **--latest**, **-l**
|
||||||
|
|
||||||
|
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
|
||||||
|
to run containers such as CRI-O, the last started container could be from either of those methods.
|
||||||
|
|
||||||
|
(This option is not available with the remote Podman client.)
|
||||||
|
|
||||||
|
#### **--size**, **-s**
|
||||||
|
|
||||||
|
In addition to normal output, display the total file size if the type is a container.
|
||||||
|
|
||||||
|
|
||||||
|
## EXAMPLE
|
||||||
|
|
||||||
|
```
|
||||||
|
$ podman container inspect foobar
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Id": "99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6",
|
||||||
|
"Created": "2021-09-16T06:09:08.936623325-04:00",
|
||||||
|
"Path": "echo",
|
||||||
|
"Args": [
|
||||||
|
"hi"
|
||||||
|
],
|
||||||
|
"State": {
|
||||||
|
"OciVersion": "1.0.2-dev",
|
||||||
|
"Status": "exited",
|
||||||
|
"Running": false,
|
||||||
|
"Paused": false,
|
||||||
|
"Restarting": false,
|
||||||
|
"OOMKilled": false,
|
||||||
|
"Dead": false,
|
||||||
|
"Pid": 0,
|
||||||
|
"ExitCode": 0,
|
||||||
|
"Error": "",
|
||||||
|
"StartedAt": "2021-09-16T06:09:09.033564436-04:00",
|
||||||
|
"FinishedAt": "2021-09-16T06:09:09.036184314-04:00",
|
||||||
|
"Healthcheck": {
|
||||||
|
"Status": "",
|
||||||
|
"FailingStreak": 0,
|
||||||
|
"Log": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Image": "14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab",
|
||||||
|
"ImageName": "docker.io/library/alpine:latest",
|
||||||
|
"Rootfs": "",
|
||||||
|
"Pod": "",
|
||||||
|
"ResolvConfPath": "/run/user/3267/containers/overlay-containers/99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6/userdata/resolv.conf",
|
||||||
|
"HostnamePath": "/run/user/3267/containers/overlay-containers/99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6/userdata/hostname",
|
||||||
|
"HostsPath": "/run/user/3267/containers/overlay-containers/99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6/userdata/hosts",
|
||||||
|
"StaticDir": "/home/dwalsh/.local/share/containers/storage/overlay-containers/99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6/userdata",
|
||||||
|
"OCIConfigPath": "/home/dwalsh/.local/share/containers/storage/overlay-containers/99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6/userdata/config.json",
|
||||||
|
"OCIRuntime": "crun",
|
||||||
|
"ConmonPidFile": "/run/user/3267/containers/overlay-containers/99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6/userdata/conmon.pid",
|
||||||
|
"PidFile": "/run/user/3267/containers/overlay-containers/99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6/userdata/pidfile",
|
||||||
|
"Name": "foobar",
|
||||||
|
"RestartCount": 0,
|
||||||
|
"Driver": "overlay",
|
||||||
|
"MountLabel": "system_u:object_r:container_file_t:s0:c25,c695",
|
||||||
|
"ProcessLabel": "system_u:system_r:container_t:s0:c25,c695",
|
||||||
|
"AppArmorProfile": "",
|
||||||
|
"EffectiveCaps": [
|
||||||
|
"CAP_CHOWN",
|
||||||
|
"CAP_DAC_OVERRIDE",
|
||||||
|
"CAP_FOWNER",
|
||||||
|
"CAP_FSETID",
|
||||||
|
"CAP_KILL",
|
||||||
|
"CAP_NET_BIND_SERVICE",
|
||||||
|
"CAP_SETFCAP",
|
||||||
|
"CAP_SETGID",
|
||||||
|
"CAP_SETPCAP",
|
||||||
|
"CAP_SETUID",
|
||||||
|
"CAP_SYS_CHROOT"
|
||||||
|
],
|
||||||
|
"BoundingCaps": [
|
||||||
|
"CAP_CHOWN",
|
||||||
|
"CAP_DAC_OVERRIDE",
|
||||||
|
"CAP_FOWNER",
|
||||||
|
"CAP_FSETID",
|
||||||
|
"CAP_KILL",
|
||||||
|
"CAP_NET_BIND_SERVICE",
|
||||||
|
"CAP_SETFCAP",
|
||||||
|
"CAP_SETGID",
|
||||||
|
"CAP_SETPCAP",
|
||||||
|
"CAP_SETUID",
|
||||||
|
"CAP_SYS_CHROOT"
|
||||||
|
],
|
||||||
|
"ExecIDs": [],
|
||||||
|
"GraphDriver": {
|
||||||
|
"Name": "overlay",
|
||||||
|
"Data": {
|
||||||
|
"LowerDir": "/home/dwalsh/.local/share/containers/storage/overlay/e2eb06d8af8218cfec8210147357a68b7e13f7c485b991c288c2d01dc228bb68/diff",
|
||||||
|
"UpperDir": "/home/dwalsh/.local/share/containers/storage/overlay/8f3d70434a3db17410ec4710caf4f251f3e4ed0a96a08124e4b3d4af0a0ea300/diff",
|
||||||
|
"WorkDir": "/home/dwalsh/.local/share/containers/storage/overlay/8f3d70434a3db17410ec4710caf4f251f3e4ed0a96a08124e4b3d4af0a0ea300/work"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Mounts": [],
|
||||||
|
"Dependencies": [],
|
||||||
|
"NetworkSettings": {
|
||||||
|
"EndpointID": "",
|
||||||
|
"Gateway": "",
|
||||||
|
"IPAddress": "",
|
||||||
|
"IPPrefixLen": 0,
|
||||||
|
"IPv6Gateway": "",
|
||||||
|
"GlobalIPv6Address": "",
|
||||||
|
"GlobalIPv6PrefixLen": 0,
|
||||||
|
"MacAddress": "",
|
||||||
|
"Bridge": "",
|
||||||
|
"SandboxID": "",
|
||||||
|
"HairpinMode": false,
|
||||||
|
"LinkLocalIPv6Address": "",
|
||||||
|
"LinkLocalIPv6PrefixLen": 0,
|
||||||
|
"Ports": {},
|
||||||
|
"SandboxKey": ""
|
||||||
|
},
|
||||||
|
"ExitCommand": [
|
||||||
|
"/usr/bin/podman",
|
||||||
|
"--root",
|
||||||
|
"/home/dwalsh/.local/share/containers/storage",
|
||||||
|
"--runroot",
|
||||||
|
"/run/user/3267/containers",
|
||||||
|
"--log-level",
|
||||||
|
"warning",
|
||||||
|
"--cgroup-manager",
|
||||||
|
"systemd",
|
||||||
|
"--tmpdir",
|
||||||
|
"/run/user/3267/libpod/tmp",
|
||||||
|
"--runtime",
|
||||||
|
"crun",
|
||||||
|
"--storage-driver",
|
||||||
|
"overlay",
|
||||||
|
"--events-backend",
|
||||||
|
"journald",
|
||||||
|
"container",
|
||||||
|
"cleanup",
|
||||||
|
"99f66530fe9c7249f7cf29f78e8661669d5831cbe4ee80ea757d5e922dd6a8a6"
|
||||||
|
],
|
||||||
|
"Namespace": "",
|
||||||
|
"IsInfra": false,
|
||||||
|
"Config": {
|
||||||
|
"Hostname": "99f66530fe9c",
|
||||||
|
"Domainname": "",
|
||||||
|
"User": "",
|
||||||
|
"AttachStdin": false,
|
||||||
|
"AttachStdout": false,
|
||||||
|
"AttachStderr": false,
|
||||||
|
"Tty": false,
|
||||||
|
"OpenStdin": false,
|
||||||
|
"StdinOnce": false,
|
||||||
|
"Env": [
|
||||||
|
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||||
|
"TERM=xterm",
|
||||||
|
"container=podman",
|
||||||
|
"HOME=/root",
|
||||||
|
"HOSTNAME=99f66530fe9c"
|
||||||
|
],
|
||||||
|
"Cmd": [
|
||||||
|
"echo",
|
||||||
|
"hi"
|
||||||
|
],
|
||||||
|
"Image": "docker.io/library/alpine:latest",
|
||||||
|
"Volumes": null,
|
||||||
|
"WorkingDir": "/",
|
||||||
|
"Entrypoint": "",
|
||||||
|
"OnBuild": null,
|
||||||
|
"Labels": null,
|
||||||
|
"Annotations": {
|
||||||
|
"io.container.manager": "libpod",
|
||||||
|
"io.kubernetes.cri-o.Created": "2021-09-16T06:09:08.936623325-04:00",
|
||||||
|
"io.kubernetes.cri-o.TTY": "false",
|
||||||
|
"io.podman.annotations.autoremove": "FALSE",
|
||||||
|
"io.podman.annotations.init": "FALSE",
|
||||||
|
"io.podman.annotations.privileged": "FALSE",
|
||||||
|
"io.podman.annotations.publish-all": "FALSE",
|
||||||
|
"org.opencontainers.image.stopSignal": "15"
|
||||||
|
},
|
||||||
|
"StopSignal": 15,
|
||||||
|
"CreateCommand": [
|
||||||
|
"podman",
|
||||||
|
"run",
|
||||||
|
"--name",
|
||||||
|
"foobar",
|
||||||
|
"alpine",
|
||||||
|
"echo",
|
||||||
|
"hi"
|
||||||
|
],
|
||||||
|
"Timezone": "local",
|
||||||
|
"Umask": "0022",
|
||||||
|
"Timeout": 0,
|
||||||
|
"StopTimeout": 10
|
||||||
|
},
|
||||||
|
"HostConfig": {
|
||||||
|
"Binds": [],
|
||||||
|
"CgroupManager": "systemd",
|
||||||
|
"CgroupMode": "private",
|
||||||
|
"ContainerIDFile": "",
|
||||||
|
"LogConfig": {
|
||||||
|
"Type": "journald",
|
||||||
|
"Config": null,
|
||||||
|
"Path": "",
|
||||||
|
"Tag": "",
|
||||||
|
"Size": "0B"
|
||||||
|
},
|
||||||
|
"NetworkMode": "slirp4netns",
|
||||||
|
"PortBindings": {},
|
||||||
|
"RestartPolicy": {
|
||||||
|
"Name": "",
|
||||||
|
"MaximumRetryCount": 0
|
||||||
|
},
|
||||||
|
"AutoRemove": false,
|
||||||
|
"VolumeDriver": "",
|
||||||
|
"VolumesFrom": null,
|
||||||
|
"CapAdd": [],
|
||||||
|
"CapDrop": [
|
||||||
|
"CAP_AUDIT_WRITE",
|
||||||
|
"CAP_MKNOD",
|
||||||
|
"CAP_NET_RAW"
|
||||||
|
],
|
||||||
|
"Dns": [],
|
||||||
|
"DnsOptions": [],
|
||||||
|
"DnsSearch": [],
|
||||||
|
"ExtraHosts": [],
|
||||||
|
"GroupAdd": [],
|
||||||
|
"IpcMode": "private",
|
||||||
|
"Cgroup": "",
|
||||||
|
"Cgroups": "default",
|
||||||
|
"Links": null,
|
||||||
|
"OomScoreAdj": 0,
|
||||||
|
"PidMode": "private",
|
||||||
|
"Privileged": false,
|
||||||
|
"PublishAllPorts": false,
|
||||||
|
"ReadonlyRootfs": false,
|
||||||
|
"SecurityOpt": [],
|
||||||
|
"Tmpfs": {},
|
||||||
|
"UTSMode": "private",
|
||||||
|
"UsernsMode": "",
|
||||||
|
"ShmSize": 65536000,
|
||||||
|
"Runtime": "oci",
|
||||||
|
"ConsoleSize": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"Isolation": "",
|
||||||
|
"CpuShares": 0,
|
||||||
|
"Memory": 0,
|
||||||
|
"NanoCpus": 0,
|
||||||
|
"CgroupParent": "user.slice",
|
||||||
|
"BlkioWeight": 0,
|
||||||
|
"BlkioWeightDevice": null,
|
||||||
|
"BlkioDeviceReadBps": null,
|
||||||
|
"BlkioDeviceWriteBps": null,
|
||||||
|
"BlkioDeviceReadIOps": null,
|
||||||
|
"BlkioDeviceWriteIOps": null,
|
||||||
|
"CpuPeriod": 0,
|
||||||
|
"CpuQuota": 0,
|
||||||
|
"CpuRealtimePeriod": 0,
|
||||||
|
"CpuRealtimeRuntime": 0,
|
||||||
|
"CpusetCpus": "",
|
||||||
|
"CpusetMems": "",
|
||||||
|
"Devices": [],
|
||||||
|
"DiskQuota": 0,
|
||||||
|
"KernelMemory": 0,
|
||||||
|
"MemoryReservation": 0,
|
||||||
|
"MemorySwap": 0,
|
||||||
|
"MemorySwappiness": 0,
|
||||||
|
"OomKillDisable": false,
|
||||||
|
"PidsLimit": 2048,
|
||||||
|
"Ulimits": [],
|
||||||
|
"CpuCount": 0,
|
||||||
|
"CpuPercent": 0,
|
||||||
|
"IOMaximumIOps": 0,
|
||||||
|
"IOMaximumBandwidth": 0,
|
||||||
|
"CgroupConf": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
$ podman container inspect nervous_fermi --format "{{.ImageName}}"
|
||||||
|
registry.access.redhat.com/ubi8:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
$ podman container inspect foobar --format "{{.GraphDriver.Name}}"
|
||||||
|
overlay
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
$ podman container inspect --latest --format {{.EffectiveCaps}}
|
||||||
|
[CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_KILL CAP_NET_BIND_SERVICE CAP_SETFCAP CAP_SETGID CAP_SETPCAP CAP_SETUID CAP_SYS_CHROOT]
|
||||||
|
```
|
||||||
|
|
||||||
|
## SEE ALSO
|
||||||
|
**[podman(1)](podman.1.md)**,**[podman-container(1)](podman-container.1.md)**, **[podman-inspect(1)](podman-inspect.1.md)**
|
||||||
|
|
||||||
|
## HISTORY
|
||||||
|
Sep 2021, Originally compiled by Dan Walsh <dwalsh@redhat.com>
|
@ -24,7 +24,7 @@ The container command allows you to manage containers
|
|||||||
| exists | [podman-container-exists(1)](podman-container-exists.1.md) | Check if a container exists in local storage |
|
| exists | [podman-container-exists(1)](podman-container-exists.1.md) | Check if a container exists in local storage |
|
||||||
| export | [podman-export(1)](podman-export.1.md) | Export a container's filesystem contents as a tar archive. |
|
| export | [podman-export(1)](podman-export.1.md) | Export a container's filesystem contents as a tar archive. |
|
||||||
| init | [podman-init(1)](podman-init.1.md) | Initialize a container |
|
| init | [podman-init(1)](podman-init.1.md) | Initialize a container |
|
||||||
| inspect | [podman-inspect(1)](podman-inspect.1.md) | Display a container or image's configuration. |
|
| inspect | [podman-container-inspect(1)](podman-container-inspect.1.md)| Display a container's configuration. |
|
||||||
| kill | [podman-kill(1)](podman-kill.1.md) | Kill the main process in one or more containers. |
|
| kill | [podman-kill(1)](podman-kill.1.md) | Kill the main process in one or more containers. |
|
||||||
| list | [podman-ps(1)](podman-ps.1.md) | List the containers on the system.(alias ls) |
|
| list | [podman-ps(1)](podman-ps.1.md) | List the containers on the system.(alias ls) |
|
||||||
| logs | [podman-logs(1)](podman-logs.1.md) | Display the logs of a container. |
|
| logs | [podman-logs(1)](podman-logs.1.md) | Display the logs of a container. |
|
||||||
|
105
docs/source/markdown/podman-image-inspect.1.md
Normal file
105
docs/source/markdown/podman-image-inspect.1.md
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
% podman-image-inspect(1)
|
||||||
|
|
||||||
|
## NAME
|
||||||
|
podman\-image\-inspect - Display an image's configuration
|
||||||
|
|
||||||
|
## SYNOPSIS
|
||||||
|
**podman image inspect** [*options*] *image* [*image* ...]
|
||||||
|
|
||||||
|
## DESCRIPTION
|
||||||
|
|
||||||
|
This displays the low-level information on images identified by name or ID. By default, this will render
|
||||||
|
all results in a JSON array. If a format is specified, the given template will be executed for each result.
|
||||||
|
|
||||||
|
## OPTIONS
|
||||||
|
|
||||||
|
#### **--format**, **-f**=*format*
|
||||||
|
|
||||||
|
Format the output using the given Go template.
|
||||||
|
The keys of the returned JSON can be used as the values for the --format flag (see examples below).
|
||||||
|
|
||||||
|
## EXAMPLE
|
||||||
|
|
||||||
|
```
|
||||||
|
$ podman image inspect fedora
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Id": "37e5619f4a8ca9dbc4d6c0ae7890625674a10dbcfb76201399e2aaddb40da17d",
|
||||||
|
"Digest": "sha256:1b0d4ddd99b1a8c8a80e885aafe6034c95f266da44ead992aab388e6aa91611a",
|
||||||
|
"RepoTags": [
|
||||||
|
"registry.fedoraproject.org/fedora:latest"
|
||||||
|
],
|
||||||
|
"RepoDigests": [
|
||||||
|
"registry.fedoraproject.org/fedora@sha256:1b0d4ddd99b1a8c8a80e885aafe6034c95f266da44ead992aab388e6aa91611a",
|
||||||
|
"registry.fedoraproject.org/fedora@sha256:b5290db40008aae9272ad3a6bd8070ef7ecd547c3bef014b894c327960acc582"
|
||||||
|
],
|
||||||
|
"Parent": "",
|
||||||
|
"Comment": "Created by Image Factory",
|
||||||
|
"Created": "2021-08-09T05:48:47Z",
|
||||||
|
"Config": {
|
||||||
|
"Env": [
|
||||||
|
"DISTTAG=f34container",
|
||||||
|
"FGC=f34",
|
||||||
|
"container=oci"
|
||||||
|
],
|
||||||
|
"Cmd": [
|
||||||
|
"/bin/bash"
|
||||||
|
],
|
||||||
|
"Labels": {
|
||||||
|
"license": "MIT",
|
||||||
|
"name": "fedora",
|
||||||
|
"vendor": "Fedora Project",
|
||||||
|
"version": "34"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Version": "1.10.1",
|
||||||
|
"Author": "",
|
||||||
|
"Architecture": "amd64",
|
||||||
|
"Os": "linux",
|
||||||
|
"Size": 183852302,
|
||||||
|
"VirtualSize": 183852302,
|
||||||
|
"GraphDriver": {
|
||||||
|
"Name": "overlay",
|
||||||
|
"Data": {
|
||||||
|
"UpperDir": "/home/dwalsh/.local/share/containers/storage/overlay/0203e243f1ca4b6bb49371ecd21363212467ec6d7d3fa9f324cd4e78cc6b5fa2/diff",
|
||||||
|
"WorkDir": "/home/dwalsh/.local/share/containers/storage/overlay/0203e243f1ca4b6bb49371ecd21363212467ec6d7d3fa9f324cd4e78cc6b5fa2/work"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"RootFS": {
|
||||||
|
"Type": "layers",
|
||||||
|
"Layers": [
|
||||||
|
"sha256:0203e243f1ca4b6bb49371ecd21363212467ec6d7d3fa9f324cd4e78cc6b5fa2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Labels": {
|
||||||
|
"license": "MIT",
|
||||||
|
"name": "fedora",
|
||||||
|
"vendor": "Fedora Project",
|
||||||
|
"version": "34"
|
||||||
|
},
|
||||||
|
"Annotations": {},
|
||||||
|
"ManifestType": "application/vnd.docker.distribution.manifest.v2+json",
|
||||||
|
"User": "",
|
||||||
|
"History": [
|
||||||
|
{
|
||||||
|
"created": "2021-08-09T05:48:47Z",
|
||||||
|
"comment": "Created by Image Factory"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"NamesHistory": [
|
||||||
|
"registry.fedoraproject.org/fedora:latest"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
$ podman image inspect --format '{{ .Id }}' fedora
|
||||||
|
37e5619f4a8ca9dbc4d6c0ae7890625674a10dbcfb76201399e2aaddb40da17d
|
||||||
|
```
|
||||||
|
|
||||||
|
## SEE ALSO
|
||||||
|
**[podman(1)](podman.1.md)**,**[podman-image(1)](podman-image.1.md)**, **[podman-inspect(1)](podman-inspect.1.md)**
|
||||||
|
|
||||||
|
## HISTORY
|
||||||
|
Sep 2021, Originally compiled by Dan Walsh <dwalsh@redhat.com>
|
@ -12,13 +12,13 @@ The image command allows you to manage images
|
|||||||
## COMMANDS
|
## COMMANDS
|
||||||
|
|
||||||
| Command | Man Page | Description |
|
| Command | Man Page | Description |
|
||||||
| -------- | ----------------------------------------------- | --------------------------------------------------------------------------- |
|
| -------- | --------------------------------------------------- | ----------------------------------------------------------------------- |
|
||||||
| build | [podman-build(1)](podman-build.1.md) | Build a container using a Dockerfile. |
|
| build | [podman-build(1)](podman-build.1.md) | Build a container using a Dockerfile. |
|
||||||
| diff | [podman-image-diff(1)](podman-image-diff.1.md) | Inspect changes on an image's filesystem. |
|
| diff | [podman-image-diff(1)](podman-image-diff.1.md) | Inspect changes on an image's filesystem. |
|
||||||
| exists | [podman-image-exists(1)](podman-image-exists.1.md) | Check if an image exists in local storage. |
|
| exists | [podman-image-exists(1)](podman-image-exists.1.md) | Check if an image exists in local storage. |
|
||||||
| history | [podman-history(1)](podman-history.1.md) | Show the history of an image. |
|
| history | [podman-history(1)](podman-history.1.md) | Show the history of an image. |
|
||||||
| import | [podman-import(1)](podman-import.1.md) | Import a tarball and save it as a filesystem image. |
|
| import | [podman-import(1)](podman-import.1.md) | Import a tarball and save it as a filesystem image. |
|
||||||
| inspect | [podman-inspect(1)](podman-inspect.1.md) | Display an image or image's configuration. |
|
| inspect | [podman-image-inspect(1)](podman-image-inspect.1.md)| Display an image's configuration. |
|
||||||
| list | [podman-images(1)](podman-images.1.md) | List the container images on the system.(alias ls) |
|
| list | [podman-images(1)](podman-images.1.md) | List the container images on the system.(alias ls) |
|
||||||
| load | [podman-load(1)](podman-load.1.md) | Load an image from the docker archive. |
|
| load | [podman-load(1)](podman-load.1.md) | Load an image from the docker archive. |
|
||||||
| mount | [podman-image-mount(1)](podman-image-mount.1.md) | Mount an image's root filesystem. |
|
| mount | [podman-image-mount(1)](podman-image-mount.1.md) | Mount an image's root filesystem. |
|
||||||
|
@ -14,6 +14,8 @@ all results in a JSON array. If the inspect type is all, the order of inspection
|
|||||||
If a format is specified, the given template will be executed for each result.
|
If a format is specified, the given template will be executed for each result.
|
||||||
|
|
||||||
For more inspection options, see also
|
For more inspection options, see also
|
||||||
|
[podman-container-inspect(1)](podman-container-inspect.1.md),
|
||||||
|
[podman-image-inspect(1)](podman-image-inspect.1.md),
|
||||||
[podman-network-inspect(1)](podman-network-inspect.1.md),
|
[podman-network-inspect(1)](podman-network-inspect.1.md),
|
||||||
[podman-pod-inspect(1)](podman-pod-inspect.1.md), and
|
[podman-pod-inspect(1)](podman-pod-inspect.1.md), and
|
||||||
[podman-volume-inspect(1)](podman-volume-inspect.1.md).
|
[podman-volume-inspect(1)](podman-volume-inspect.1.md).
|
||||||
@ -160,7 +162,7 @@ myNetwork
|
|||||||
```
|
```
|
||||||
|
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
podman(1)
|
**[podman(1)](podman.1.md)**,**[podman-container-inspect(1)](podman-container-inspect.1.md)**,**[podman-image-inspect(1)](podman-image-inspect.1.md)**,**[podman-network-inspect(1)](podman-network-inspect.1.md)**,**[podman-pod-inspect(1)](podman-pod-inspect.1.md)**,**[podman-volume-inspect(1)](podman-volume-inspect.1.md)**.
|
||||||
|
|
||||||
## HISTORY
|
## HISTORY
|
||||||
July 2017, Originally compiled by Dan Walsh <dwalsh@redhat.com>
|
July 2017, Originally compiled by Dan Walsh <dwalsh@redhat.com>
|
||||||
|
@ -70,7 +70,7 @@ Valid placeholders for the Go template are listed below:
|
|||||||
```
|
```
|
||||||
|
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
podman-pod(1), podman-pod-ps(1)
|
**[podman(1)](podman.1.md)**,**[podman-pod(1)](podman-pod.1.md)**, **[podman-inspect(1)](podman-inspect.1.md)**
|
||||||
|
|
||||||
## HISTORY
|
## HISTORY
|
||||||
August 2018, Originally compiled by Brent Baude <bbaude@redhat.com>
|
August 2018, Originally compiled by Brent Baude <bbaude@redhat.com>
|
||||||
|
@ -40,7 +40,7 @@ $ podman volume inspect --format "{{.Driver}} {{.Scope}}" myvol
|
|||||||
```
|
```
|
||||||
|
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
podman-volume(1)
|
**[podman(1)](podman.1.md)**,**[podman-volume(1)](podman-volume.1.md)**, **[podman-inspect(1)](podman-inspect.1.md)**
|
||||||
|
|
||||||
## HISTORY
|
## HISTORY
|
||||||
November 2018, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>
|
November 2018, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>
|
||||||
|
Reference in New Issue
Block a user