This scenario seems very basic. After Docker is installed (18.06.0-ce)
- Start Vs2017
- Create new asp.net mvc project
- Try to install it the project to a Docker container.
The output is below. The full file path in the error does not, in fact, exist. But who would create that? The path segment docker-builder439407661 does not sound like something a user would create. Where does that come from? Am I supposed to create the magic path segment manually? Actually, I created that full path, it didn’t help.
Note: I’m doing this from an Active Directory Domain joined machined in my workplace.
Getting Docker containers ready…
docker-compose -f “D:\temp\dockerwebapi\dockerwebapi\docker-compose.yml” -f “D:\temp\dockerwebapi\dockerwebapi\docker-compose.override.yml” -f “D:\temp\dockerwebapi\dockerwebapi\obj\Docker\docker-compose.vs.debug.g.yml” -p dockercompose4733329686020691249 --no-ansi build
The DOCKER_REGISTRY variable is not set. Defaulting to a blank string.
Step 1/2 : FROM microsoft/aspnet
latest: Pulling from microsoft/aspnet
Status: Downloaded newer image for microsoft/aspnet:latest
Step 2/2 : COPY ./bin/Release/Publish/ /inetpub/wwwroot
Service ‘dockerwebapi’ failed to build: COPY failed: CreateFile \?\C:\ProgramData\Docker\tmp\docker-builder439407661\bin\Release\Publish: The system cannot find the path specified.
A non-critical error occurred while getting containers ready. Your project will continue to function normally. The error was: The DOCKER_REGISTRY variable is not set. Defaulting to a blank string.
Service ‘dockerwebapi’ failed to build: COPY failed: CreateFile \?\C:\ProgramData\Docker\tmp\docker-builder439407661\bin\Release\Publish: The system cannot find the path specified…