1
0
mirror of https://github.com/docker/cli.git synced 2025-08-24 15:27:43 +03:00
Files
cli/docs/reference/commandline
Sebastiaan van Stijn 6d0aa0a52d cli/command/container: parseSecurityOpts: fix --security-opt seccomp=builtin
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]: f8795ed364
[2]: ac449d6b5a

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-05 12:19:00 +01:00
..
2023-12-21 00:31:02 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-04-09 13:36:36 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-08-28 01:58:58 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00