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-19 17:15:38 +01:00
2023-12-21 00:31:02 +01:00
2023-08-23 11:39:32 +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-12-19 17:15:38 +01:00
2024-01-03 16:53:47 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +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-07-06 19:41:34 +00: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 17:15:38 +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-07-06 19:41:34 +00: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 17:15:38 +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 17:15:38 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-08-23 11:39:32 +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-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-08-12 14:22:23 +01:00
2023-12-13 13:16:31 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-11-20 19:38:17 +01:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-08-25 14:10:40 +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-12-19 19:30:55 +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-08-25 14:10:40 +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-08-25 14:10:40 +02:00
2023-04-10 15:08:38 +02: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-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-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
2024-01-05 12:19:00 +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-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2023-08-25 14:10:40 +02:00
2023-08-25 14:10:40 +02:00
2023-12-21 01:04:56 +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-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-27 08:19:27 -07:00
2023-12-19 17:15:38 +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 17:15:38 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 17:15:38 +01:00
2023-04-10 14:26:28 +02:00
2023-12-19 17:15:38 +01:00
2023-08-28 01:58:58 +02:00
2023-12-19 17:15:38 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +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-12-19 17:15:38 +01:00
2023-08-25 14:10:40 +02:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-12-19 17:15:38 +01:00
2023-01-06 22:36:47 +01:00
2023-08-12 14:22:23 +01:00
2023-01-06 22:36:47 +01:00