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

fix docker-desktop systemd proxy #90

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Conversation

hschaeidt
Copy link
Contributor

Potentially fixes #89

This is the changeset I did to fix docker-desktop on my machine. I think it needs further investigation of why I have different paths than other users. See #89 for more information.

@davegallant davegallant mentioned this pull request Jul 3, 2022
3 tasks
davegallant added a commit to davegallant/nix-config that referenced this pull request Jul 3, 2022
@nzbr
Copy link
Member

nzbr commented Jul 11, 2022

I'm investigating into the bind mount problem: The docker proxy tries to bind-mount the directory to /mnt/wsl/docker-desktop-bind-mounts/{id}. The mount only exists inside the systemd namespace - outside of it, the directory stays empty
I'll see if we can somehow get rid of the mount isolation

@nzbr nzbr added the bug Something isn't working label Jul 11, 2022
@nzbr
Copy link
Member

nzbr commented Jul 11, 2022

Disabling mount isolation causes a lot of interesting new problems, so that's not an option. Another option might be to somehow start the proxy outside the systemd namespace

@nzbr nzbr changed the title WIP: fix docker-desktop systemd proxy fix docker-desktop systemd proxy Jul 11, 2022
@nzbr
Copy link
Member

nzbr commented Jul 11, 2022

It works now. I'll open a second PR for that

@nzbr nzbr merged commit 54511e5 into nix-community:main Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Desktop WSL2 not working
2 participants