Useful or not, from you.
for-win VS2017 Failed to execute script docker-compose Permission denied: \\v15\\Server\\sqlite3\\db.lock'
  • Windows Version: W10 1709
  • Docker for Windows Version: 18.03.0-ce-win59 Stable
  • Visual Studio 15.6.5

Expected behavior

Beeing able to build release of a core project using vs2017 docker support

Actual behavior

the docker compose launch a python script : "site-packages\docker\utils\" which is trying to read sqlite3\db.lock manage by vs2017 => OSError: Can not read file in context: ....sqlite3\db.lock

Steps to reproduce the behavior

if your context is at the same level as the .vs folder you encounter this problem

That's a useful answer
Without any help

Make sure you stop all running containers.

And visual studio if you're running one.

On Fri., 10 May 2019, 2:47 am jherman, wrote:

I'm having similar issues here, and use context field as well:

version: '3.4'

services: agent: image: ${DOCKER_REGISTRY-}hello/world-agent:latest build: context: ../ dockerfile: Agent/Agent/Dockerfile

and my ignore file looks like:

.dockerignore .env .git .gitignore .vs .vscode docker-compose.yml docker-compose.*.yml */bin */obj */.vs

And the error I see is:

PermissionError: [Errno 13] Permission denied: '\\?\C:\work\src\Agent\.vs\agent\v16\Server\sqlite3\db.lock'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread .