Skip to content
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

settings are not migrated when downgrade from v4.35.1 do change from UI and then re-upgrade to v4.35.1 #7482

Open
Riete opened this issue Nov 11, 2024 · 2 comments

Comments

@Riete
Copy link

Riete commented Nov 11, 2024

Description

Docker Desktop 4.35.1 (173168)

After upgrade from 4.34.3 to 4.35.1, I enable VMM, But when restart the docker, the status is always stuck at starting.
After same research, I found it's caused by low memory limit setting, here I set memory limit to 1GB, so I revert to 4.34.3 and set memory limit to 4GB, then upgrade to v4.35.1 again,but it still stuck at starting, seems the setting change has no effect.

Finally, I find the root casue is Docker Desktop setting config file changed from settings.json to settings-store.json where locate at ~/Library/Group\ Containers/group.com.docker since v4.35.x, I need to change the memory setting in settings-store.json, then docekr start successful.

In my case, downgrade -> change settings from UI -> upgrade can't solve the issue, then only way is to find the right config file and modify it.

Reproduce

Expected behavior

No response

docker version

N/A

docker info

N/A

Diagnostics ID

N/A

Additional Info

No response

@Riete Riete changed the title low memory limit setting and VMM enabled will lead to docker stuck at starting settings are not migrated when downgrade from v4.35.1 do change from UI and then re-upgrade to v4.3.51 Nov 11, 2024
@Riete Riete changed the title settings are not migrated when downgrade from v4.35.1 do change from UI and then re-upgrade to v4.3.51 settings are not migrated when downgrade from v4.35.1 do change from UI and then re-upgrade to v4.35.1 Nov 11, 2024
@thaJeztah
Copy link
Member

cc @chelnak @djs55

@djs55
Copy link
Contributor

djs55 commented Nov 11, 2024

Thanks for the report. We're investigating applying the memory change on upgrade.

In my case, downgrade -> change settings from UI -> upgrade can't solve the issue, then only way is to find the right config file and modify it.

I'm glad you managed to edit your config file and fix the issue locally. Sorry for the inconvenience.

For the benefit of anyone else reading this, to fix the DockerVMM minimum memory issue on Docker 4.35.1:

  1. stop Docker 4.35.1
  2. edit ~/Library/Group\ Containers/group.com.docker/settings-store.json to change MemoryMiB:
  "MemoryMiB": 4096,
  1. restart DD 4.35.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants