mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28070 from runcom/seccomp-path-fixes
Seccomp path fixes
This commit is contained in:
commit
d7d0bc1d58
3 changed files with 23 additions and 6 deletions
|
@ -147,8 +147,8 @@ func prettyPrintInfo(dockerCli *command.DockerCli, info types.Info) error {
|
|||
case "Name":
|
||||
fmt.Fprintf(dockerCli.Out(), " %s\n", o.Value)
|
||||
case "Profile":
|
||||
if o.Key != "default" {
|
||||
fmt.Fprintf(dockerCli.Err(), " WARNING: You're not using the Docker's default seccomp profile\n")
|
||||
if o.Value != "default" {
|
||||
fmt.Fprintf(dockerCli.Err(), " WARNING: You're not using the default seccomp profile\n")
|
||||
}
|
||||
fmt.Fprintf(dockerCli.Out(), " %s: %s\n", o.Key, o.Value)
|
||||
}
|
||||
|
|
|
@ -165,6 +165,7 @@ This section lists each version from latest to oldest. Each listing includes a
|
|||
* The `SecurityOptions` field within the `GET /info` response now includes `userns` if user namespaces are enabled in the daemon.
|
||||
* `GET /nodes` and `GET /node/(id or name)` now return `Addr` as part of a node's `Status`, which is the address that that node connects to the manager from.
|
||||
* The `HostConfig` field now includes `NanoCPUs` that represents CPU quota in units of 10<sup>-9</sup> CPUs.
|
||||
* `GET /info` now returns more structured information about security options.
|
||||
|
||||
### v1.24 API changes
|
||||
|
||||
|
|
|
@ -2509,10 +2509,26 @@ Display system-wide information
|
|||
]
|
||||
},
|
||||
"SecurityOptions": [
|
||||
"apparmor",
|
||||
"seccomp",
|
||||
"selinux",
|
||||
"userns"
|
||||
{
|
||||
"Key": "Name",
|
||||
"Value": "seccomp"
|
||||
},
|
||||
{
|
||||
"Key": "Profile",
|
||||
"Value": "default"
|
||||
},
|
||||
{
|
||||
"Key": "Name",
|
||||
"Value": "apparmor"
|
||||
},
|
||||
{
|
||||
"Key": "Name",
|
||||
"Value": "selinux"
|
||||
},
|
||||
{
|
||||
"Key": "Name",
|
||||
"Value": "userns"
|
||||
}
|
||||
],
|
||||
"ServerVersion": "1.9.0",
|
||||
"SwapLimit": false,
|
||||
|
|
Loading…
Add table
Reference in a new issue