![]() ![]() If you are working with the same repository both locally in Windows and inside a container, be sure to set up consistent line endings.If you plan to work with other remote extensions in VS Code, you may choose to install the Remote Development extension pack. Install Visual Studio Code or Visual Studio Code Insiders. Sign out and back in again so your changes take effect. If you are using Docker Compose, follow the Docker Compose directions as well.Īdd your user to the docker group by using a terminal to run: sudo usermod -aG docker $USER See tips and tricks for troubleshooting.įollow the official install instructions for Docker CE/EE for your distribution. When not using the WSL 2 back-end, right-click on the Docker task bar item, select Settings and update Resources > File Sharing with any locations your source code is kept. Check Use the WSL 2 based engine and verify your distribution is enabled under Resources > WSL Integration. ![]() If you are using WSL 2 on Windows, to ensure the WSL 2 back-end is enabled: Right-click on the Docker taskbar item and select Settings. Install and configure Docker for your operating system. Other glibc based Linux containers may work if they have needed Linux prerequisites. ![]() Note that attaching to a Kubernetes cluster only requires a properly configured kubectl CLI. Other Docker compliant CLIs may work, but are not officially supported.
0 Comments
Leave a Reply. |