mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
vendor: github.com/docker/docker v28.0.0-rc.3
no code changes in vendor, only updated swagger file full diff: https://github.com/docker/docker/compare/v28.0.0-rc.2...v28.0.0-rc.3 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
cdfc1ed750
commit
352ce7e875
2
go.mod
2
go.mod
@ -19,7 +19,7 @@ require (
|
||||
github.com/distribution/reference v0.6.0
|
||||
github.com/docker/cli v28.0.0-rc.2+incompatible
|
||||
github.com/docker/cli-docs-tool v0.9.0
|
||||
github.com/docker/docker v28.0.0-rc.2+incompatible
|
||||
github.com/docker/docker v28.0.0-rc.3+incompatible
|
||||
github.com/docker/go-units v0.5.0
|
||||
github.com/gofrs/flock v0.12.1
|
||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
||||
|
4
go.sum
4
go.sum
@ -129,8 +129,8 @@ github.com/docker/cli-docs-tool v0.9.0/go.mod h1:ClrwlNW+UioiRyH9GiAOe1o3J/TsY3T
|
||||
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
|
||||
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
|
||||
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
|
||||
github.com/docker/docker v28.0.0-rc.2+incompatible h1:p+Ri+C0mmbPkhYVD9Sxnp/TnNnZoQWEj/EwOC465Uq4=
|
||||
github.com/docker/docker v28.0.0-rc.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||
github.com/docker/docker v28.0.0-rc.3+incompatible h1:A7wYJ4FR0qJS38LEwHAxdq7hWFP1BZw72hVVMDaHEOc=
|
||||
github.com/docker/docker v28.0.0-rc.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||
github.com/docker/docker-credential-helpers v0.8.2 h1:bX3YxiGzFP5sOXWc3bTPEXdEaZSeVMrFgOr3T+zrFAo=
|
||||
github.com/docker/docker-credential-helpers v0.8.2/go.mod h1:P3ci7E3lwkZg6XiHdRKft1KckHiO9a2rNtyFbZ/ry9M=
|
||||
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c h1:lzqkGL9b3znc+ZUgi7FlLnqjQhcXxkNM/quxIjBVMD0=
|
||||
|
784
vendor/github.com/docker/docker/api/swagger.yaml
generated
vendored
784
vendor/github.com/docker/docker/api/swagger.yaml
generated
vendored
@ -965,13 +965,18 @@ definitions:
|
||||
ContainerIDFile:
|
||||
type: "string"
|
||||
description: "Path to a file where the container ID is written"
|
||||
example: ""
|
||||
LogConfig:
|
||||
type: "object"
|
||||
description: "The logging configuration for this container"
|
||||
properties:
|
||||
Type:
|
||||
description: |-
|
||||
Name of the logging driver used for the container or "none"
|
||||
if logging is disabled.
|
||||
type: "string"
|
||||
enum:
|
||||
- "local"
|
||||
- "json-file"
|
||||
- "syslog"
|
||||
- "journald"
|
||||
@ -982,9 +987,14 @@ definitions:
|
||||
- "etwlogs"
|
||||
- "none"
|
||||
Config:
|
||||
description: |-
|
||||
Driver-specific configuration options for the logging driver.
|
||||
type: "object"
|
||||
additionalProperties:
|
||||
type: "string"
|
||||
example:
|
||||
"max-file": "5"
|
||||
"max-size": "10m"
|
||||
NetworkMode:
|
||||
type: "string"
|
||||
description: |
|
||||
@ -1027,6 +1037,7 @@ definitions:
|
||||
items:
|
||||
type: "integer"
|
||||
minimum: 0
|
||||
example: [80, 64]
|
||||
Annotations:
|
||||
type: "object"
|
||||
description: |
|
||||
@ -1129,7 +1140,8 @@ definitions:
|
||||
- `"host"`: use the host's PID namespace inside the container
|
||||
Privileged:
|
||||
type: "boolean"
|
||||
description: "Gives the container full access to the host."
|
||||
description: |-
|
||||
Gives the container full access to the host.
|
||||
PublishAllPorts:
|
||||
type: "boolean"
|
||||
description: |
|
||||
@ -1186,18 +1198,20 @@ definitions:
|
||||
minimum: 0
|
||||
Sysctls:
|
||||
type: "object"
|
||||
description: |
|
||||
x-nullable: true
|
||||
description: |-
|
||||
A list of kernel parameters (sysctls) to set in the container.
|
||||
For example:
|
||||
|
||||
```
|
||||
{"net.ipv4.ip_forward": "1"}
|
||||
```
|
||||
This field is omitted if not set.
|
||||
additionalProperties:
|
||||
type: "string"
|
||||
example:
|
||||
"net.ipv4.ip_forward": "1"
|
||||
Runtime:
|
||||
type: "string"
|
||||
description: "Runtime to use with this container."
|
||||
x-nullable: true
|
||||
description: |-
|
||||
Runtime to use with this container.
|
||||
# Applicable to Windows
|
||||
Isolation:
|
||||
type: "string"
|
||||
@ -1215,6 +1229,18 @@ definitions:
|
||||
the default set of paths).
|
||||
items:
|
||||
type: "string"
|
||||
example:
|
||||
- "/proc/asound"
|
||||
- "/proc/acpi"
|
||||
- "/proc/kcore"
|
||||
- "/proc/keys"
|
||||
- "/proc/latency_stats"
|
||||
- "/proc/timer_list"
|
||||
- "/proc/timer_stats"
|
||||
- "/proc/sched_debug"
|
||||
- "/proc/scsi"
|
||||
- "/sys/firmware"
|
||||
- "/sys/devices/virtual/powercap"
|
||||
ReadonlyPaths:
|
||||
type: "array"
|
||||
description: |
|
||||
@ -1222,6 +1248,12 @@ definitions:
|
||||
(this overrides the default set of paths).
|
||||
items:
|
||||
type: "string"
|
||||
example:
|
||||
- "/proc/bus"
|
||||
- "/proc/fs"
|
||||
- "/proc/irq"
|
||||
- "/proc/sys"
|
||||
- "/proc/sysrq-trigger"
|
||||
|
||||
ContainerConfig:
|
||||
description: |
|
||||
@ -1238,8 +1270,14 @@ definitions:
|
||||
The domain name to use for the container.
|
||||
type: "string"
|
||||
User:
|
||||
description: "The user that commands are run as inside the container."
|
||||
description: |-
|
||||
Commands run as this user inside the container. If omitted, commands
|
||||
run as the user specified in the image the container was started from.
|
||||
|
||||
Can be either user-name or UID, and optional group-name or GID,
|
||||
separated by a colon (`<user-name|UID>[<:group-name|GID>]`).
|
||||
type: "string"
|
||||
example: "123:456"
|
||||
AttachStdin:
|
||||
description: "Whether to attach to `stdin`."
|
||||
type: "boolean"
|
||||
@ -5091,24 +5129,226 @@ definitions:
|
||||
Warnings:
|
||||
- "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
||||
|
||||
ContainerInspectResponse:
|
||||
type: "object"
|
||||
title: "ContainerInspectResponse"
|
||||
x-go-name: "InspectResponse"
|
||||
properties:
|
||||
Id:
|
||||
description: |-
|
||||
The ID of this container as a 128-bit (64-character) hexadecimal string (32 bytes).
|
||||
type: "string"
|
||||
x-go-name: "ID"
|
||||
minLength: 64
|
||||
maxLength: 64
|
||||
pattern: "^[0-9a-fA-F]{64}$"
|
||||
example: "aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf"
|
||||
Created:
|
||||
description: |-
|
||||
Date and time at which the container was created, formatted in
|
||||
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
|
||||
type: "string"
|
||||
format: "dateTime"
|
||||
x-nullable: true
|
||||
example: "2025-02-17T17:43:39.64001363Z"
|
||||
Path:
|
||||
description: |-
|
||||
The path to the command being run
|
||||
type: "string"
|
||||
example: "/bin/sh"
|
||||
Args:
|
||||
description: "The arguments to the command being run"
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
example:
|
||||
- "-c"
|
||||
- "exit 9"
|
||||
State:
|
||||
$ref: "#/definitions/ContainerState"
|
||||
Image:
|
||||
description: |-
|
||||
The ID (digest) of the image that this container was created from.
|
||||
type: "string"
|
||||
example: "sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782"
|
||||
ResolvConfPath:
|
||||
description: |-
|
||||
Location of the `/etc/resolv.conf` generated for the container on the
|
||||
host.
|
||||
|
||||
This file is managed through the docker daemon, and should not be
|
||||
accessed or modified by other tools.
|
||||
type: "string"
|
||||
example: "/var/lib/docker/containers/aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf/resolv.conf"
|
||||
HostnamePath:
|
||||
description: |-
|
||||
Location of the `/etc/hostname` generated for the container on the
|
||||
host.
|
||||
|
||||
This file is managed through the docker daemon, and should not be
|
||||
accessed or modified by other tools.
|
||||
type: "string"
|
||||
example: "/var/lib/docker/containers/aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf/hostname"
|
||||
HostsPath:
|
||||
description: |-
|
||||
Location of the `/etc/hosts` generated for the container on the
|
||||
host.
|
||||
|
||||
This file is managed through the docker daemon, and should not be
|
||||
accessed or modified by other tools.
|
||||
type: "string"
|
||||
example: "/var/lib/docker/containers/aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf/hosts"
|
||||
LogPath:
|
||||
description: |-
|
||||
Location of the file used to buffer the container's logs. Depending on
|
||||
the logging-driver used for the container, this field may be omitted.
|
||||
|
||||
This file is managed through the docker daemon, and should not be
|
||||
accessed or modified by other tools.
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
example: "/var/lib/docker/containers/5b7c7e2b992aa426584ce6c47452756066be0e503a08b4516a433a54d2f69e59/5b7c7e2b992aa426584ce6c47452756066be0e503a08b4516a433a54d2f69e59-json.log"
|
||||
Name:
|
||||
description: |-
|
||||
The name associated with this container.
|
||||
|
||||
For historic reasons, the name may be prefixed with a forward-slash (`/`).
|
||||
type: "string"
|
||||
example: "/funny_chatelet"
|
||||
RestartCount:
|
||||
description: |-
|
||||
Number of times the container was restarted since it was created,
|
||||
or since daemon was started.
|
||||
type: "integer"
|
||||
example: 0
|
||||
Driver:
|
||||
description: |-
|
||||
The storage-driver used for the container's filesystem (graph-driver
|
||||
or snapshotter).
|
||||
type: "string"
|
||||
example: "overlayfs"
|
||||
Platform:
|
||||
description: |-
|
||||
The platform (operating system) for which the container was created.
|
||||
|
||||
This field was introduced for the experimental "LCOW" (Linux Containers
|
||||
On Windows) features, which has been removed. In most cases, this field
|
||||
is equal to the host's operating system (`linux` or `windows`).
|
||||
type: "string"
|
||||
example: "linux"
|
||||
ImageManifestDescriptor:
|
||||
$ref: "#/definitions/OCIDescriptor"
|
||||
description: |-
|
||||
OCI descriptor of the platform-specific manifest of the image
|
||||
the container was created from.
|
||||
|
||||
Note: Only available if the daemon provides a multi-platform
|
||||
image store.
|
||||
MountLabel:
|
||||
description: |-
|
||||
SELinux mount label set for the container.
|
||||
type: "string"
|
||||
example: ""
|
||||
ProcessLabel:
|
||||
description: |-
|
||||
SELinux process label set for the container.
|
||||
type: "string"
|
||||
example: ""
|
||||
AppArmorProfile:
|
||||
description: |-
|
||||
The AppArmor profile set for the container.
|
||||
type: "string"
|
||||
example: ""
|
||||
ExecIDs:
|
||||
description: |-
|
||||
IDs of exec instances that are running in the container.
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
example:
|
||||
- "b35395de42bc8abd327f9dd65d913b9ba28c74d2f0734eeeae84fa1c616a0fca"
|
||||
- "3fc1232e5cd20c8de182ed81178503dc6437f4e7ef12b52cc5e8de020652f1c4"
|
||||
HostConfig:
|
||||
$ref: "#/definitions/HostConfig"
|
||||
GraphDriver:
|
||||
$ref: "#/definitions/DriverData"
|
||||
SizeRw:
|
||||
description: |-
|
||||
The size of files that have been created or changed by this container.
|
||||
|
||||
This field is omitted by default, and only set when size is requested
|
||||
in the API request.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
x-nullable: true
|
||||
example: "122880"
|
||||
SizeRootFs:
|
||||
description: |-
|
||||
The total size of all files in the read-only layers from the image
|
||||
that the container uses. These layers can be shared between containers.
|
||||
|
||||
This field is omitted by default, and only set when size is requested
|
||||
in the API request.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
x-nullable: true
|
||||
example: "1653948416"
|
||||
Mounts:
|
||||
description: |-
|
||||
List of mounts used by the container.
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/MountPoint"
|
||||
Config:
|
||||
$ref: "#/definitions/ContainerConfig"
|
||||
NetworkSettings:
|
||||
$ref: "#/definitions/NetworkSettings"
|
||||
|
||||
ContainerSummary:
|
||||
type: "object"
|
||||
properties:
|
||||
Id:
|
||||
description: "The ID of this container"
|
||||
description: |-
|
||||
The ID of this container as a 128-bit (64-character) hexadecimal string (32 bytes).
|
||||
type: "string"
|
||||
x-go-name: "ID"
|
||||
minLength: 64
|
||||
maxLength: 64
|
||||
pattern: "^[0-9a-fA-F]{64}$"
|
||||
example: "aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf"
|
||||
Names:
|
||||
description: "The names that this container has been given"
|
||||
description: |-
|
||||
The names associated with this container. Most containers have a single
|
||||
name, but when using legacy "links", the container can have multiple
|
||||
names.
|
||||
|
||||
For historic reasons, names are prefixed with a forward-slash (`/`).
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
example:
|
||||
- "/funny_chatelet"
|
||||
Image:
|
||||
description: "The name of the image used when creating this container"
|
||||
description: |-
|
||||
The name or ID of the image used to create the container.
|
||||
|
||||
This field shows the image reference as was specified when creating the container,
|
||||
which can be in its canonical form (e.g., `docker.io/library/ubuntu:latest`
|
||||
or `docker.io/library/ubuntu@sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782`),
|
||||
short form (e.g., `ubuntu:latest`)), or the ID(-prefix) of the image (e.g., `72297848456d`).
|
||||
|
||||
The content of this field can be updated at runtime if the image used to
|
||||
create the container is untagged, in which case the field is updated to
|
||||
contain the the image ID (digest) it was resolved to in its canonical,
|
||||
non-truncated form (e.g., `sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782`).
|
||||
type: "string"
|
||||
example: "docker.io/library/ubuntu:latest"
|
||||
ImageID:
|
||||
description: "The ID of the image that this container was created from"
|
||||
description: |-
|
||||
The ID (digest) of the image that this container was created from.
|
||||
type: "string"
|
||||
example: "sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782"
|
||||
ImageManifestDescriptor:
|
||||
$ref: "#/definitions/OCIDescriptor"
|
||||
x-nullable: true
|
||||
@ -5123,55 +5363,112 @@ definitions:
|
||||
Command:
|
||||
description: "Command to run when starting the container"
|
||||
type: "string"
|
||||
example: "/bin/bash"
|
||||
Created:
|
||||
description: "When the container was created"
|
||||
description: |-
|
||||
Date and time at which the container was created as a Unix timestamp
|
||||
(number of seconds since EPOCH).
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
example: "1739811096"
|
||||
Ports:
|
||||
description: "The ports exposed by this container"
|
||||
description: |-
|
||||
Port-mappings for the container.
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/Port"
|
||||
SizeRw:
|
||||
description: "The size of files that have been created or changed by this container"
|
||||
description: |-
|
||||
The size of files that have been created or changed by this container.
|
||||
|
||||
This field is omitted by default, and only set when size is requested
|
||||
in the API request.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
x-nullable: true
|
||||
example: "122880"
|
||||
SizeRootFs:
|
||||
description: "The total size of all the files in this container"
|
||||
description: |-
|
||||
The total size of all files in the read-only layers from the image
|
||||
that the container uses. These layers can be shared between containers.
|
||||
|
||||
This field is omitted by default, and only set when size is requested
|
||||
in the API request.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
x-nullable: true
|
||||
example: "1653948416"
|
||||
Labels:
|
||||
description: "User-defined key/value metadata."
|
||||
type: "object"
|
||||
additionalProperties:
|
||||
type: "string"
|
||||
example:
|
||||
com.example.vendor: "Acme"
|
||||
com.example.license: "GPL"
|
||||
com.example.version: "1.0"
|
||||
State:
|
||||
description: "The state of this container (e.g. `Exited`)"
|
||||
description: |
|
||||
The state of this container.
|
||||
type: "string"
|
||||
enum:
|
||||
- "created"
|
||||
- "running"
|
||||
- "paused"
|
||||
- "restarting"
|
||||
- "exited"
|
||||
- "removing"
|
||||
- "dead"
|
||||
example: "running"
|
||||
Status:
|
||||
description: "Additional human-readable status of this container (e.g. `Exit 0`)"
|
||||
description: |-
|
||||
Additional human-readable status of this container (e.g. `Exit 0`)
|
||||
type: "string"
|
||||
example: "Up 4 days"
|
||||
HostConfig:
|
||||
type: "object"
|
||||
description: |-
|
||||
Summary of host-specific runtime information of the container. This
|
||||
is a reduced set of information in the container's "HostConfig" as
|
||||
available in the container "inspect" response.
|
||||
properties:
|
||||
NetworkMode:
|
||||
description: |-
|
||||
Networking mode (`host`, `none`, `container:<id>`) or name of the
|
||||
primary network the container is using.
|
||||
|
||||
This field is primarily for backward compatibility. The container
|
||||
can be connected to multiple networks for which information can be
|
||||
found in the `NetworkSettings.Networks` field, which enumerates
|
||||
settings per network.
|
||||
type: "string"
|
||||
example: "mynetwork"
|
||||
Annotations:
|
||||
description: "Arbitrary key-value metadata attached to container"
|
||||
description: |-
|
||||
Arbitrary key-value metadata attached to the container.
|
||||
type: "object"
|
||||
x-nullable: true
|
||||
additionalProperties:
|
||||
type: "string"
|
||||
example:
|
||||
io.kubernetes.docker.type: "container"
|
||||
io.kubernetes.sandbox.id: "3befe639bed0fd6afdd65fd1fa84506756f59360ec4adc270b0fdac9be22b4d3"
|
||||
NetworkSettings:
|
||||
description: "A summary of the container's network settings"
|
||||
description: |-
|
||||
Summary of the container's network settings
|
||||
type: "object"
|
||||
properties:
|
||||
Networks:
|
||||
type: "object"
|
||||
description: |-
|
||||
Summary of network-settings for each network the container is
|
||||
attached to.
|
||||
additionalProperties:
|
||||
$ref: "#/definitions/EndpointSettings"
|
||||
Mounts:
|
||||
type: "array"
|
||||
description: |-
|
||||
List of mounts used by the container.
|
||||
items:
|
||||
$ref: "#/definitions/MountPoint"
|
||||
|
||||
@ -7053,7 +7350,7 @@ definitions:
|
||||
description: |
|
||||
The media type of the object this schema refers to.
|
||||
type: "string"
|
||||
example: "application/vnd.docker.distribution.manifest.v2+json"
|
||||
example: "application/vnd.oci.image.manifest.v1+json"
|
||||
digest:
|
||||
description: |
|
||||
The digest of the targeted content.
|
||||
@ -7064,27 +7361,52 @@ definitions:
|
||||
The size in bytes of the blob.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
example: 3987495
|
||||
# TODO Not yet including these fields for now, as they are nil / omitted in our response.
|
||||
# urls:
|
||||
# description: |
|
||||
# List of URLs from which this object MAY be downloaded.
|
||||
# type: "array"
|
||||
# items:
|
||||
# type: "string"
|
||||
# format: "uri"
|
||||
# annotations:
|
||||
# description: |
|
||||
# Arbitrary metadata relating to the targeted content.
|
||||
# type: "object"
|
||||
# additionalProperties:
|
||||
# type: "string"
|
||||
# platform:
|
||||
# $ref: "#/definitions/OCIPlatform"
|
||||
example: 424
|
||||
urls:
|
||||
description: |-
|
||||
List of URLs from which this object MAY be downloaded.
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
format: "uri"
|
||||
x-nullable: true
|
||||
annotations:
|
||||
description: |-
|
||||
Arbitrary metadata relating to the targeted content.
|
||||
type: "object"
|
||||
x-nullable: true
|
||||
additionalProperties:
|
||||
type: "string"
|
||||
example:
|
||||
"com.docker.official-images.bashbrew.arch": "amd64"
|
||||
"org.opencontainers.image.base.digest": "sha256:0d0ef5c914d3ea700147da1bd050c59edb8bb12ca312f3800b29d7c8087eabd8"
|
||||
"org.opencontainers.image.base.name": "scratch"
|
||||
"org.opencontainers.image.created": "2025-01-27T00:00:00Z"
|
||||
"org.opencontainers.image.revision": "9fabb4bad5138435b01857e2fe9363e2dc5f6a79"
|
||||
"org.opencontainers.image.source": "https://git.launchpad.net/cloud-images/+oci/ubuntu-base"
|
||||
"org.opencontainers.image.url": "https://hub.docker.com/_/ubuntu"
|
||||
"org.opencontainers.image.version": "24.04"
|
||||
data:
|
||||
type: string
|
||||
x-nullable: true
|
||||
description: |-
|
||||
Data is an embedding of the targeted content. This is encoded as a base64
|
||||
string when marshalled to JSON (automatically, by encoding/json). If
|
||||
present, Data can be used directly to avoid fetching the targeted content.
|
||||
example: null
|
||||
platform:
|
||||
$ref: "#/definitions/OCIPlatform"
|
||||
artifactType:
|
||||
description: |-
|
||||
ArtifactType is the IANA media type of this artifact.
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
example: null
|
||||
|
||||
OCIPlatform:
|
||||
type: "object"
|
||||
x-go-name: Platform
|
||||
x-nullable: true
|
||||
description: |
|
||||
Describes the platform which the image in the manifest runs on, as defined
|
||||
in the [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
|
||||
@ -7554,143 +7876,6 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/ContainerSummary"
|
||||
examples:
|
||||
application/json:
|
||||
- Id: "8dfafdbc3a40"
|
||||
Names:
|
||||
- "/boring_feynman"
|
||||
Image: "ubuntu:latest"
|
||||
ImageID: "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82"
|
||||
Command: "echo 1"
|
||||
Created: 1367854155
|
||||
State: "Exited"
|
||||
Status: "Exit 0"
|
||||
Ports:
|
||||
- PrivatePort: 2222
|
||||
PublicPort: 3333
|
||||
Type: "tcp"
|
||||
Labels:
|
||||
com.example.vendor: "Acme"
|
||||
com.example.license: "GPL"
|
||||
com.example.version: "1.0"
|
||||
SizeRw: 12288
|
||||
SizeRootFs: 0
|
||||
HostConfig:
|
||||
NetworkMode: "default"
|
||||
Annotations:
|
||||
io.kubernetes.docker.type: "container"
|
||||
NetworkSettings:
|
||||
Networks:
|
||||
bridge:
|
||||
NetworkID: "7ea29fc1412292a2d7bba362f9253545fecdfa8ce9a6e37dd10ba8bee7129812"
|
||||
EndpointID: "2cdc4edb1ded3631c81f57966563e5c8525b81121bb3706a9a9a3ae102711f3f"
|
||||
Gateway: "172.17.0.1"
|
||||
IPAddress: "172.17.0.2"
|
||||
IPPrefixLen: 16
|
||||
IPv6Gateway: ""
|
||||
GlobalIPv6Address: ""
|
||||
GlobalIPv6PrefixLen: 0
|
||||
MacAddress: "02:42:ac:11:00:02"
|
||||
Mounts:
|
||||
- Name: "fac362...80535"
|
||||
Source: "/data"
|
||||
Destination: "/data"
|
||||
Driver: "local"
|
||||
Mode: "ro,Z"
|
||||
RW: false
|
||||
Propagation: ""
|
||||
- Id: "9cd87474be90"
|
||||
Names:
|
||||
- "/coolName"
|
||||
Image: "ubuntu:latest"
|
||||
ImageID: "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82"
|
||||
Command: "echo 222222"
|
||||
Created: 1367854155
|
||||
State: "Exited"
|
||||
Status: "Exit 0"
|
||||
Ports: []
|
||||
Labels: {}
|
||||
SizeRw: 12288
|
||||
SizeRootFs: 0
|
||||
HostConfig:
|
||||
NetworkMode: "default"
|
||||
Annotations:
|
||||
io.kubernetes.docker.type: "container"
|
||||
io.kubernetes.sandbox.id: "3befe639bed0fd6afdd65fd1fa84506756f59360ec4adc270b0fdac9be22b4d3"
|
||||
NetworkSettings:
|
||||
Networks:
|
||||
bridge:
|
||||
NetworkID: "7ea29fc1412292a2d7bba362f9253545fecdfa8ce9a6e37dd10ba8bee7129812"
|
||||
EndpointID: "88eaed7b37b38c2a3f0c4bc796494fdf51b270c2d22656412a2ca5d559a64d7a"
|
||||
Gateway: "172.17.0.1"
|
||||
IPAddress: "172.17.0.8"
|
||||
IPPrefixLen: 16
|
||||
IPv6Gateway: ""
|
||||
GlobalIPv6Address: ""
|
||||
GlobalIPv6PrefixLen: 0
|
||||
MacAddress: "02:42:ac:11:00:08"
|
||||
Mounts: []
|
||||
- Id: "3176a2479c92"
|
||||
Names:
|
||||
- "/sleepy_dog"
|
||||
Image: "ubuntu:latest"
|
||||
ImageID: "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82"
|
||||
Command: "echo 3333333333333333"
|
||||
Created: 1367854154
|
||||
State: "Exited"
|
||||
Status: "Exit 0"
|
||||
Ports: []
|
||||
Labels: {}
|
||||
SizeRw: 12288
|
||||
SizeRootFs: 0
|
||||
HostConfig:
|
||||
NetworkMode: "default"
|
||||
Annotations:
|
||||
io.kubernetes.image.id: "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82"
|
||||
io.kubernetes.image.name: "ubuntu:latest"
|
||||
NetworkSettings:
|
||||
Networks:
|
||||
bridge:
|
||||
NetworkID: "7ea29fc1412292a2d7bba362f9253545fecdfa8ce9a6e37dd10ba8bee7129812"
|
||||
EndpointID: "8b27c041c30326d59cd6e6f510d4f8d1d570a228466f956edf7815508f78e30d"
|
||||
Gateway: "172.17.0.1"
|
||||
IPAddress: "172.17.0.6"
|
||||
IPPrefixLen: 16
|
||||
IPv6Gateway: ""
|
||||
GlobalIPv6Address: ""
|
||||
GlobalIPv6PrefixLen: 0
|
||||
MacAddress: "02:42:ac:11:00:06"
|
||||
Mounts: []
|
||||
- Id: "4cb07b47f9fb"
|
||||
Names:
|
||||
- "/running_cat"
|
||||
Image: "ubuntu:latest"
|
||||
ImageID: "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82"
|
||||
Command: "echo 444444444444444444444444444444444"
|
||||
Created: 1367854152
|
||||
State: "Exited"
|
||||
Status: "Exit 0"
|
||||
Ports: []
|
||||
Labels: {}
|
||||
SizeRw: 12288
|
||||
SizeRootFs: 0
|
||||
HostConfig:
|
||||
NetworkMode: "default"
|
||||
Annotations:
|
||||
io.kubernetes.config.source: "api"
|
||||
NetworkSettings:
|
||||
Networks:
|
||||
bridge:
|
||||
NetworkID: "7ea29fc1412292a2d7bba362f9253545fecdfa8ce9a6e37dd10ba8bee7129812"
|
||||
EndpointID: "d91c7b2f0644403d7ef3095985ea0e2370325cd2332ff3a3225c4247328e66e9"
|
||||
Gateway: "172.17.0.1"
|
||||
IPAddress: "172.17.0.5"
|
||||
IPPrefixLen: 16
|
||||
IPv6Gateway: ""
|
||||
GlobalIPv6Address: ""
|
||||
GlobalIPv6PrefixLen: 0
|
||||
MacAddress: "02:42:ac:11:00:05"
|
||||
Mounts: []
|
||||
400:
|
||||
description: "bad parameter"
|
||||
schema:
|
||||
@ -7915,246 +8100,7 @@ paths:
|
||||
200:
|
||||
description: "no error"
|
||||
schema:
|
||||
type: "object"
|
||||
title: "ContainerInspectResponse"
|
||||
properties:
|
||||
Id:
|
||||
description: "The ID of the container"
|
||||
type: "string"
|
||||
Created:
|
||||
description: "The time the container was created"
|
||||
type: "string"
|
||||
Path:
|
||||
description: "The path to the command being run"
|
||||
type: "string"
|
||||
Args:
|
||||
description: "The arguments to the command being run"
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
State:
|
||||
$ref: "#/definitions/ContainerState"
|
||||
Image:
|
||||
description: "The container's image ID"
|
||||
type: "string"
|
||||
ResolvConfPath:
|
||||
type: "string"
|
||||
HostnamePath:
|
||||
type: "string"
|
||||
HostsPath:
|
||||
type: "string"
|
||||
LogPath:
|
||||
type: "string"
|
||||
Name:
|
||||
type: "string"
|
||||
RestartCount:
|
||||
type: "integer"
|
||||
Driver:
|
||||
type: "string"
|
||||
Platform:
|
||||
type: "string"
|
||||
ImageManifestDescriptor:
|
||||
$ref: "#/definitions/OCIDescriptor"
|
||||
description: |
|
||||
OCI descriptor of the platform-specific manifest of the image
|
||||
the container was created from.
|
||||
|
||||
Note: Only available if the daemon provides a multi-platform
|
||||
image store.
|
||||
MountLabel:
|
||||
type: "string"
|
||||
ProcessLabel:
|
||||
type: "string"
|
||||
AppArmorProfile:
|
||||
type: "string"
|
||||
ExecIDs:
|
||||
description: "IDs of exec instances that are running in the container."
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
HostConfig:
|
||||
$ref: "#/definitions/HostConfig"
|
||||
GraphDriver:
|
||||
$ref: "#/definitions/DriverData"
|
||||
SizeRw:
|
||||
description: |
|
||||
The size of files that have been created or changed by this
|
||||
container.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
SizeRootFs:
|
||||
description: "The total size of all the files in this container."
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
Mounts:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/MountPoint"
|
||||
Config:
|
||||
$ref: "#/definitions/ContainerConfig"
|
||||
NetworkSettings:
|
||||
$ref: "#/definitions/NetworkSettings"
|
||||
examples:
|
||||
application/json:
|
||||
AppArmorProfile: ""
|
||||
Args:
|
||||
- "-c"
|
||||
- "exit 9"
|
||||
Config:
|
||||
AttachStderr: true
|
||||
AttachStdin: false
|
||||
AttachStdout: true
|
||||
Cmd:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
- "exit 9"
|
||||
Domainname: ""
|
||||
Env:
|
||||
- "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
Healthcheck:
|
||||
Test: ["CMD-SHELL", "exit 0"]
|
||||
Hostname: "ba033ac44011"
|
||||
Image: "ubuntu"
|
||||
Labels:
|
||||
com.example.vendor: "Acme"
|
||||
com.example.license: "GPL"
|
||||
com.example.version: "1.0"
|
||||
MacAddress: ""
|
||||
NetworkDisabled: false
|
||||
OpenStdin: false
|
||||
StdinOnce: false
|
||||
Tty: false
|
||||
User: ""
|
||||
Volumes:
|
||||
/volumes/data: {}
|
||||
WorkingDir: ""
|
||||
StopSignal: "SIGTERM"
|
||||
StopTimeout: 10
|
||||
Created: "2015-01-06T15:47:31.485331387Z"
|
||||
Driver: "overlay2"
|
||||
ExecIDs:
|
||||
- "b35395de42bc8abd327f9dd65d913b9ba28c74d2f0734eeeae84fa1c616a0fca"
|
||||
- "3fc1232e5cd20c8de182ed81178503dc6437f4e7ef12b52cc5e8de020652f1c4"
|
||||
HostConfig:
|
||||
MaximumIOps: 0
|
||||
MaximumIOBps: 0
|
||||
BlkioWeight: 0
|
||||
BlkioWeightDevice:
|
||||
- {}
|
||||
BlkioDeviceReadBps:
|
||||
- {}
|
||||
BlkioDeviceWriteBps:
|
||||
- {}
|
||||
BlkioDeviceReadIOps:
|
||||
- {}
|
||||
BlkioDeviceWriteIOps:
|
||||
- {}
|
||||
ContainerIDFile: ""
|
||||
CpusetCpus: ""
|
||||
CpusetMems: ""
|
||||
CpuPercent: 80
|
||||
CpuShares: 0
|
||||
CpuPeriod: 100000
|
||||
CpuRealtimePeriod: 1000000
|
||||
CpuRealtimeRuntime: 10000
|
||||
Devices: []
|
||||
DeviceRequests:
|
||||
- Driver: "nvidia"
|
||||
Count: -1
|
||||
DeviceIDs": ["0", "1", "GPU-fef8089b-4820-abfc-e83e-94318197576e"]
|
||||
Capabilities: [["gpu", "nvidia", "compute"]]
|
||||
Options:
|
||||
property1: "string"
|
||||
property2: "string"
|
||||
IpcMode: ""
|
||||
Memory: 0
|
||||
MemorySwap: 0
|
||||
MemoryReservation: 0
|
||||
OomKillDisable: false
|
||||
OomScoreAdj: 500
|
||||
NetworkMode: "bridge"
|
||||
PidMode: ""
|
||||
PortBindings: {}
|
||||
Privileged: false
|
||||
ReadonlyRootfs: false
|
||||
PublishAllPorts: false
|
||||
RestartPolicy:
|
||||
MaximumRetryCount: 2
|
||||
Name: "on-failure"
|
||||
LogConfig:
|
||||
Type: "json-file"
|
||||
Sysctls:
|
||||
net.ipv4.ip_forward: "1"
|
||||
Ulimits:
|
||||
- {}
|
||||
VolumeDriver: ""
|
||||
ShmSize: 67108864
|
||||
HostnamePath: "/var/lib/docker/containers/ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39/hostname"
|
||||
HostsPath: "/var/lib/docker/containers/ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39/hosts"
|
||||
LogPath: "/var/lib/docker/containers/1eb5fabf5a03807136561b3c00adcd2992b535d624d5e18b6cdc6a6844d9767b/1eb5fabf5a03807136561b3c00adcd2992b535d624d5e18b6cdc6a6844d9767b-json.log"
|
||||
Id: "ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39"
|
||||
Image: "04c5d3b7b0656168630d3ba35d8889bd0e9caafcaeb3004d2bfbc47e7c5d35d2"
|
||||
MountLabel: ""
|
||||
Name: "/boring_euclid"
|
||||
NetworkSettings:
|
||||
Bridge: ""
|
||||
SandboxID: ""
|
||||
HairpinMode: false
|
||||
LinkLocalIPv6Address: ""
|
||||
LinkLocalIPv6PrefixLen: 0
|
||||
SandboxKey: ""
|
||||
EndpointID: ""
|
||||
Gateway: ""
|
||||
GlobalIPv6Address: ""
|
||||
GlobalIPv6PrefixLen: 0
|
||||
IPAddress: ""
|
||||
IPPrefixLen: 0
|
||||
IPv6Gateway: ""
|
||||
MacAddress: ""
|
||||
Networks:
|
||||
bridge:
|
||||
NetworkID: "7ea29fc1412292a2d7bba362f9253545fecdfa8ce9a6e37dd10ba8bee7129812"
|
||||
EndpointID: "7587b82f0dada3656fda26588aee72630c6fab1536d36e394b2bfbcf898c971d"
|
||||
Gateway: "172.17.0.1"
|
||||
IPAddress: "172.17.0.2"
|
||||
IPPrefixLen: 16
|
||||
IPv6Gateway: ""
|
||||
GlobalIPv6Address: ""
|
||||
GlobalIPv6PrefixLen: 0
|
||||
MacAddress: "02:42:ac:12:00:02"
|
||||
Path: "/bin/sh"
|
||||
ProcessLabel: ""
|
||||
ResolvConfPath: "/var/lib/docker/containers/ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39/resolv.conf"
|
||||
RestartCount: 1
|
||||
State:
|
||||
Error: ""
|
||||
ExitCode: 9
|
||||
FinishedAt: "2015-01-06T15:47:32.080254511Z"
|
||||
Health:
|
||||
Status: "healthy"
|
||||
FailingStreak: 0
|
||||
Log:
|
||||
- Start: "2019-12-22T10:59:05.6385933Z"
|
||||
End: "2019-12-22T10:59:05.8078452Z"
|
||||
ExitCode: 0
|
||||
Output: ""
|
||||
OOMKilled: false
|
||||
Dead: false
|
||||
Paused: false
|
||||
Pid: 0
|
||||
Restarting: false
|
||||
Running: true
|
||||
StartedAt: "2015-01-06T15:47:32.072697474Z"
|
||||
Status: "running"
|
||||
Mounts:
|
||||
- Name: "fac362...80535"
|
||||
Source: "/data"
|
||||
Destination: "/data"
|
||||
Driver: "local"
|
||||
Mode: "ro,Z"
|
||||
RW: false
|
||||
Propagation: ""
|
||||
$ref: "#/definitions/ContainerInspectResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
schema:
|
||||
@ -10719,6 +10665,7 @@ paths:
|
||||
items:
|
||||
type: "integer"
|
||||
minimum: 0
|
||||
example: [80, 64]
|
||||
DetachKeys:
|
||||
type: "string"
|
||||
description: |
|
||||
@ -10805,9 +10752,11 @@ paths:
|
||||
Detach:
|
||||
type: "boolean"
|
||||
description: "Detach from the command."
|
||||
example: false
|
||||
Tty:
|
||||
type: "boolean"
|
||||
description: "Allocate a pseudo-TTY."
|
||||
example: true
|
||||
ConsoleSize:
|
||||
type: "array"
|
||||
description: "Initial console size, as an `[height, width]` array."
|
||||
@ -10817,10 +10766,7 @@ paths:
|
||||
items:
|
||||
type: "integer"
|
||||
minimum: 0
|
||||
example:
|
||||
Detach: false
|
||||
Tty: true
|
||||
ConsoleSize: [80, 64]
|
||||
example: [80, 64]
|
||||
- name: "id"
|
||||
in: "path"
|
||||
description: "Exec instance ID"
|
||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -283,7 +283,7 @@ github.com/docker/distribution/registry/client/transport
|
||||
github.com/docker/distribution/registry/storage/cache
|
||||
github.com/docker/distribution/registry/storage/cache/memory
|
||||
github.com/docker/distribution/uuid
|
||||
# github.com/docker/docker v28.0.0-rc.2+incompatible
|
||||
# github.com/docker/docker v28.0.0-rc.3+incompatible
|
||||
## explicit
|
||||
github.com/docker/docker/api
|
||||
github.com/docker/docker/api/types
|
||||
|
Loading…
x
Reference in New Issue
Block a user