mirror of https://github.com/docker/cli.git
6d0aa0a52d
Docker v23.0 and up allow the daemon to be configured to have seccomp disabled by default (using the "unconfined" profile as default), and introduced a new "builtin" profile-name for the default (see [moby@f8795ed364586acd][1] and [mnoby@ac449d6b5ad29a50][2]). However, the CLI had no special handling for the "builtin" profile, which resulted in it trying to load it as a file, which would fail; docker run -it --rm --security-opt seccomp=builtin busybox docker: opening seccomp profile (builtin) failed: open builtin: no such file or directory. See 'docker run --help'. This patch adds a special case for the "builtin" profile, to allow using the default profile on daemons with seccomp disabled (unconfined) by default. [1]: |
||
---|---|---|
.. | ||
command | ||
compose | ||
config | ||
connhelper | ||
context | ||
debug | ||
flags | ||
hints | ||
manifest | ||
registry/client | ||
streams | ||
trust | ||
version | ||
winresources | ||
cobra.go | ||
cobra_test.go | ||
error.go | ||
required.go | ||
required_test.go |