How can you start all containerized services described in docker-compose file directly from Windows when the docker-compose.yml file is stored in WSL?

Experience Level: Junior
Tags: WSL

Answer

  • Install Remote-WSL extension in Visual Studio Code.
  • Connect to WSL using Remote-WSL: New WSL Window.
  • Run terminal
  • Type docker-compose up

Comments

No Comments Yet.
Be the first to tell us what you think.
Windows Subsystem for Linux (WSL)
Windows Subsystem for Linux (WSL)

Are you learning WSL ? Try our test we designed to help you progress faster.

Test yourself