1
0
mirror of https://github.com/docker/cli.git synced 2025-11-25 18:03:19 +03:00
Files
cli/docs/reference/commandline
Sebastiaan van Stijn f4a433f841 cli/command/container: fully deprecate --kernel-memory options
The `--kernel-memory` flag was still included to allow it to be used with
old API versions, but it's no longer supported by the kernel, and no longer
handled by OCI runtimes, so deprecating the flags.

With this patch, a deprecation warning is now produced when trying to use
the option;

    docker run --kernel-memory 123b busybox
    Flag --kernel-memory has been deprecated, this option is deprecated in the kernel and no longer supported

    docker container create --kernel-memory 123b busybox
    Flag --kernel-memory has been deprecated, and no longer supported by the kernel
    31fb57e2c6434490a2892031602be20d0206d3cf0fc281ea25654c46dcb62bac

Note that cobra does not _fail_ the command when using deprecated options;
we could make this a hard failure instead, but may not be worth the effort.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-09-16 15:36:45 +02:00
..
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-02-21 10:40:13 +01:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +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
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +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
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-10-10 17:00:43 +02:00
2024-08-16 15:09:51 +02:00
2025-05-27 10:58:11 +02:00
2023-01-06 22:36:47 +01:00
2024-08-16 15:09:51 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-12-10 15:51:21 +00:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2025-08-06 12:33:27 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-10 11:36:40 +02:00
2024-07-04 10:30:56 +02:00
2025-05-27 10:58:11 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-01-18 14:58:43 +01:00
2023-08-28 01:58:58 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00