Get image config
deprecated
This endpoint has been deprecated and may be removed in future versions of the API.
Get image config
Path Parameters
namespace string required
The specified namespace.
Query Parameters
secret string
Secret name of the image repository credential, left empty means anonymous fetch.
image string required
Image name to query, e.g. kubesphere/ks-apiserver:v3.1.1
Responses
- 200
ok
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
ConfigFile required
architecture string required
author string
config required
ArgsEscaped boolean
AttachStderr boolean
AttachStdin boolean
AttachStdout boolean
Cmd string[]
Domainname string
Entrypoint string[]
Env string[]
ExposedPorts object
Healthcheck
Interval int64
Retries int32
StartPeriod int64
Test string[]
Timeout int64
Hostname string
Image string
Labels object
property name* string
MacAddress string
NetworkDisabled boolean
OnBuild string[]
OpenStdin boolean
Shell string[]
StdinOnce boolean
StopSignal string
Tty boolean
User string
Volumes object
WorkingDir string
container string
created string
docker_version string
history undefined[]
author string
comment string
created string
created_by string
empty_layer boolean
os string required
os.version string
rootfs required
diff_ids undefined[] required
Algorithm string required
Hex string required
type string required
{
"ConfigFile": {
"architecture": "string",
"author": "string",
"config": {
"ArgsEscaped": true,
"AttachStderr": true,
"AttachStdin": true,
"AttachStdout": true,
"Cmd": [
"string"
],
"Domainname": "string",
"Entrypoint": [
"string"
],
"Env": [
"string"
],
"ExposedPorts": {},
"Healthcheck": {
"Interval": 0,
"Retries": 0,
"StartPeriod": 0,
"Test": [
"string"
],
"Timeout": 0
},
"Hostname": "string",
"Image": "string",
"Labels": {},
"MacAddress": "string",
"NetworkDisabled": true,
"OnBuild": [
"string"
],
"OpenStdin": true,
"Shell": [
"string"
],
"StdinOnce": true,
"StopSignal": "string",
"Tty": true,
"User": "string",
"Volumes": {},
"WorkingDir": "string"
},
"container": "string",
"created": "string",
"docker_version": "string",
"history": [
{
"author": "string",
"comment": "string",
"created": "string",
"created_by": "string",
"empty_layer": true
}
],
"os": "string",
"os.version": "string",
"rootfs": {
"diff_ids": [
{
"Algorithm": "string",
"Hex": "string"
}
],
"type": "string"
}
}
}
Loading...