unable to evaluate symlinks in Dockerfile

When I input

docker build -t tutum/apache-php .

  • docker - how do you disable auto-restart on a container?
  • How to configure docker containers so that I can access them outside the host
  • Deploying own Docker Registry: Registry restarting
  • app source not being imported into docker container with docker-compose
  • localhost:8000 resolves to localhost and “this site can't be reached” but localhost:8000/services works
  • Seeking for a universal way to get host IP address inside docker container
  • in docker, it will output the error

    unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx C:\User\gao\Dockerfile: The system cannot find the file specified.

    What does this mean? Any advice is helpful. Thank you.

  • Can't push to remote docker registry
  • Mariadb failure to daemonise with docker
  • How to make docker-compose scale start dependencies?
  • Docker swarm mode load balancing not working as described
  • Docker swarm with a custom network
  • Docker Cloud autotest cant find service
  • One Solution collect form web for “unable to evaluate symlinks in Dockerfile”

    It means your Dockerfile is missing or incorrectly named. If you want to build a differently named Dockerfile, you can run docker build -t tutum/apache-php -f ./Dockerfile.dev .

    You also appear to be trying to build in a namespace that is in use (tutum) which is strongly recommended against. If you want their image, just run a docker pull tutum/apache-php.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.