ASP.NET with Docker in VS2015 not working when project has dots in the name

Expected behavior

Hit Run, get a Docker container running with my application in it.

Actual behavior

Hit Run, projects build, Docker starts the init process, and I get errors and the docker container never start stoping the build and run process


1> Removing intermediate container 06280a0fa2ac
1> Successfully built 8022152ad2ea
1> Error response from daemon: no such id: testwebproject.test_testwebproject.test
1> Build : Failed to tag the image

  • the output of:
    • pinata diagnose -u on OSX
    • DockerDebugInfo.ps1 using Powershell on Windows
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )

Steps to reproduce the behavior

  1. Create a ASP.NET proj in VS with a composite name like TestWebProject.Test
  2. Add Docker Support to it
  3. Hit Run on Docker
  4. Booom it fails

O did without the composite name and it works like a charm.

1 Like

Seems to be an issue with docker-compose stripping the periods out of the first part of the repository name.