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

Test: Attach to Podman container in WSL #5638

Closed
1 task done
chrmarti opened this issue Sep 27, 2021 · 0 comments
Closed
1 task done

Test: Attach to Podman container in WSL #5638

chrmarti opened this issue Sep 27, 2021 · 0 comments
Labels
containers Issue in vscode-remote containers testplan-item

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Sep 27, 2021

#5550

Complexity: 2

Create Issue


Mainly verifying #5550, so a single tester should be enough. Using docker for simplicity, but use podman if you happen to have it installed.

  • This assumes you have Docker Desktop for Windows installed and its WSL integration enabled (requires the WSL distro to run as WSL2 distro, wsl --set-version <distro> 2).
  • Set the Remote > Containers: Docker Path setting to the full path of where docker is installed in your WSL distro (/usr/bin/docker?). It would work without this, but this will mimic the Podman setup.
  • In a terminal, enter WSL, start a container and open VS Code with that folder:
wsl
docker run -d ubuntu sleep infinity
code ~
  • F1 > Remote-Containers: Attach to Running Container... and pick the new container.
  • Verify that a new window opens with a Remote-Containers session connected to that container.
@chrmarti chrmarti added this to the September 2021 milestone Sep 27, 2021
@chrmarti chrmarti added the containers Issue in vscode-remote containers label Sep 27, 2021
@ghost ghost assigned JacksonKearl Sep 28, 2021
@rzhao271 rzhao271 assigned rzhao271 and unassigned JacksonKearl and rzhao271 Sep 28, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers testplan-item
Projects
None yet
Development

No branches or pull requests

3 participants