Erandika Sandaruwan
Erandika Sandaruwan

Reputation: 193

Getting Volume sharing is not enabled error when i try to run the docker-compose file in Visual Studio

This is the error I'm currently having "Volume sharing is not enabled. On the Settings screen in Docker Desktop, click Resources -> Shared Drives, and select the drive(s) or folder(s) containing your project files. For more information, please visit - https://aka.ms/DockerToolsTroubleshooting"

Upvotes: 0

Views: 31

Answers (1)

Erandika Sandaruwan
Erandika Sandaruwan

Reputation: 193

Open the Docker Desktop.

Go to Resources => File Sharing

Set the virtual file path to your local user account("")

Click on the "+" button.

Click on Apply & Restart

Manually Restart the docker Desktop

enter image description here

Upvotes: 0

Related Questions