Skip to content

[Preview] Run containers in WSL with VS Container Tools #417

@fiveisprime

Description

@fiveisprime

This functionality is now unblocked by an environment variable which will allow VS Container Tools to work with a connection to a remote docker daemon in WSL.

Important note: you will need to configure a container runtime daemon in WSL (e.g., Docker CE) and Docker CLI in your Windows environment. Setting the environment variable only ensures VS Container Tools will handle the mount points correctly.

Requirements

  • VS 17.10.0 Preview 1
  • Configure your host container tools to connect to WSL daemon
  • Add env var VSCT_WslDaemon=1

Respond here with any questions or if you run into issues.

Happy coding ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    announcementAnnouncements from the dev team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions