Can I Use Docker with a Non-Default WSL Distro?

0
3
Asked By CoolSocks42 On

I'm trying to set up Docker but I noticed that the option "enable integration with my default WSL distro" is checked by default. I don't want to use Docker with this default distribution. If I uncheck this option, will Docker still function properly with WSL? Am I required to install a different distribution, or will the Docker Desktop distribution be utilized instead? I've looked through the documentation and searched online, but I still can't find a clear answer to my question.

2 Answers

Answered By TechyTom123 On

You can definitely use a non-default WSL distro with Docker. Just make sure to enable WSL integration for that specific distro in the Docker settings. The default option won't affect your setup as long as you manage your integration settings correctly. No additional installations are needed unless you prefer an entirely different setup.

Answered By DockerNinja99 On

When you uncheck the integration with your default WSL distro, Docker can still work with WSL, but it will only work with the distributions that you have selected for integration in Docker's WSL settings. You don't need to install a new distro unless you want to use one that Docker doesn't currently support. The Docker Desktop WSL 2 backend is designed to integrate seamlessly, so as long as you select the right distro, you should be fine.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.