How to deploy asp.net application to docker container on Linux server?
Visual Studio can't find the docker
command on your local computer. It needs this as a client to connect to the docker daemon on your Linux server. The easiest way to do this is to install Docker Toolbox from here:
https://www.docker.com/products/docker-toolbox
You may have to uninstall and re-install "Visual Studio 2015 Tools for Docker" or manually add to Powershell's $env:Path
if the docker command still can't be found.
Also, your Image Name must not contain uppercase characters. Use dockerdemo
rather than DockerDemo
.