Note
Expected behavior
With deprecatedCgroupv1 set to true under /Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.json, Docker should be using cgroup v1 instead of v2.
➜ ~ cat /Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.json | grep deprecatedCgroupv1
"deprecatedCgroupv1": true,
➜ ~ /usr/local/bin/docker info --format '{{json .CgroupVersion}}'
"1"
➜ ~
Actual behavior
On the latest 4.18.0 version, this is ignored, and Docker is using cgroup v2 regardless of the property.
➜ ~ cat /Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.json | grep deprecatedCgroupv1
"deprecatedCgroupv1": true,
➜ ~ /usr/local/bin/docker info --format '{{json .CgroupVersion}}'
"2"
➜ ~
Reverting back to 4.17.0 resolves the issue.
Information
To reproduce
- Install
4.17.0
- After installation, quit Docker Desktop completely.
- Set the value of
deprecatedCgroupv1 under /Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.json to true
- Add the property if missing
- Start Docker Desktop
- Open Terminal:
- Verify that the property remained
true: cat /Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.json | grep deprecatedCgroupv1 (if no, repeat steps 2-4 above)
- Verify that cgroup version is
1: /usr/local/bin/docker info --format '{{json .CgroupVersion}}'
After confirming the above, upgrade to (the latest) 4.18.0. Steps 2-4 should be remembered, so you can go directly to step 5 above.
73CF779E-DEE1-4208-9B57-1B9D663A2890/20230418101016Note
Expected behavior
With
deprecatedCgroupv1set totrueunder/Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.json, Docker should be using cgroup v1 instead of v2.Actual behavior
On the latest
4.18.0version, this is ignored, and Docker is using cgroup v2 regardless of the property.Reverting back to
4.17.0resolves the issue.Information
To reproduce
4.17.0deprecatedCgroupv1under/Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.jsontotruetrue:cat /Users/$(whoami)/Library/Group\ Containers/group.com.docker/settings.json | grep deprecatedCgroupv1(if no, repeat steps 2-4 above)1:/usr/local/bin/docker info --format '{{json .CgroupVersion}}'After confirming the above, upgrade to (the latest)
4.18.0. Steps 2-4 should be remembered, so you can go directly to step 5 above.