-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
daemon: ensure we set default options to stock runtime #24450
Conversation
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
ping @LK4D4 @mlaventure @mrunalp |
more background from the issue here #24424 (comment) and basically when we now retrieve the runtime and it happens to be the default we also get the options such as systemd (https://github.com/docker/docker/blob/master/daemon/start_linux.go#L19) |
This seems reasonable. |
Yeah that is the basic issue and it should be fixed by setting default runtime args correctly in docker when none is specified. The containerd flags now aren't of any use for docker. Sent from my iPhone
|
LGTM (IANAM) |
I tried and it works. |
\o/ ty all |
- What I did
Fix #24424
Make sure we set default stock runtime options in case we use systemd
- How I did it
set stock runtime options
- How to verify it
if you run w/o this patch and
--exec-opts native.cgroupdriver=systemd
you'll get:and you can notice cgroup paths are incorrect (too many colons)
Running with this patch:
- Description for the changelog
Ensure we set default options to stock runtime
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Antonio Murdaca runcom@redhat.com