A list of capabilities; an OR list of AND lists of capabilities.
type:"array"
items:
type:"array"
items:
type:"string"
example:
# gpu AND nvidia AND compute
-["gpu","nvidia","compute"]
Options:
description:|
Driver-specific options, specified as a key/value pairs. These options
are passed directly to the driver.
type:"object"
additionalProperties:
type:"string"
ThrottleDevice:
type:"object"
properties:
...
...
@@ -238,11 +275,13 @@ definitions:
- `bind` Mounts a file or directory from the host into the container. Must exist prior to creating the container.
- `volume` Creates a volume with the given name and options (or uses a pre-existing volume with the same name and options). These are **not** removed when the container is removed.
- `tmpfs` Create a tmpfs with the given options. The mount source cannot be specified for tmpfs.
- `npipe` Mounts a named pipe from the host into the container. Must exist prior to creating the container.
returnserverResp,fmt.Errorf("The server probably has client authentication (--tlsverify) enabled. Please check your TLS client certification settings: %v",err)
returnserverResp,errors.Wrap(err,"The server probably has client authentication (--tlsverify) enabled. Please check your TLS client certification settings")
}
// Don't decorate context sentinel errors; users may be comparing to
returnfmt.Errorf("request returned %s with a message (> %d bytes) for API route and version %s, check if the server supports the requested API version",http.StatusText(serverResp.statusCode),bodyMax,serverResp.reqURL)
}
}
iflen(body)==0{
returnfmt.Errorf("request returned %s for API route and version %s, check if the server supports the requested API version",http.StatusText(serverResp.statusCode),serverResp.reqURL)