Inspect Image
The inspect command reports on the contents of a container image providing version and location information for Java
and WebLogic installations.
| Parameter | Definition | Default |
|---|---|---|
--image, -i |
(Required) The image ID or image name to be inspected. | |
--builder, -b |
Executable to inspect Docker images. Use the full path of the executable if not on your path. | Defaults to docker, or, when set, to the value in environment variable WLSIMG_BUILDER. |
--format, -f |
The output format. Supported values: JSON |
JSON |
--patches. -p |
Include OPatch information in the output, including a list of WebLogic patches that are applied. | |
--plarform |
Specify the platform for selecting the image (--image). |
host platform |
Use an argument file
You can save all arguments passed for the Image Tool in a file, then use the file as a parameter.
For example, create a file called build_args:
Use the argument file on the command line, as follows:
Usage scenarios
-
Inspect an image created with the
createcommand where the latest PSU was applied.The output will be in JSON format and will be similar to:
-
Inspect the same image without the optional
--patchesswitch.The output will be in JSON format and will be similar to: