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

[devcontainers] Warn users using Docker Desktop on Linux #9652

Open
zmarffy opened this issue Mar 12, 2024 · 1 comment
Open

[devcontainers] Warn users using Docker Desktop on Linux #9652

zmarffy opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
containers Issue in vscode-remote containers feature-request Request for new features or functionality rootless
Milestone

Comments

@zmarffy
Copy link

zmarffy commented Mar 12, 2024

  • VSCode Version: Any
  • Local OS Version: Any
  • Remote OS Version: Any
  • Remote Extension/Connection Type: Containers
  • Logs: N/A

Steps to Reproduce:

  1. Try to open any Dev container with Docker Desktop for Linux as the backend

Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: N/A

This is more of a Docker Desktop on Linux issue, but wanted to mention it here because I feel like maybe VS Code should issue a warning about it? Even repos to test dev containers like vscode-remote-try-node will not work, as Docker Desktop on Linux has an interesting file sharing conundrum. All the files in the container become owned by root, and cannot be edited. A workaround of setting containerUser and/or remoteUser as root might not be a great idea. Maybe if VS Code detects that a Linux user is using Docker Desktop, it should warn about this, proposing some actions to take. Honestly though, who uses Docker Desktop on Linux? 😄

@vscodenpa vscodenpa added the containers Issue in vscode-remote containers label Mar 12, 2024
@chrmarti
Copy link
Contributor

Related: #4646

@chrmarti chrmarti added this to the Backlog milestone Mar 12, 2024
@chrmarti chrmarti added feature-request Request for new features or functionality rootless labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Issue in vscode-remote containers feature-request Request for new features or functionality rootless
Projects
None yet
Development

No branches or pull requests

3 participants