I just downloaded Docker Toolbox for Windows 10 64bit today. I\'m going through the tutorial. I\'m receving the following error when trying to build an image using a Docke
Two ways to build a dockerfile:
You can decide not to specify the file name of which to build from and just build it specifying a path (doing it this way the file name must be Dockerfile
with no extension appended, eg: docker build -t docker-whale:tag path/to/Dockerfile
or
You can specify a file with -f
and it doesn't matter what extension (within reason .txt
, .dockerfile
, .Dockerfile
etc..) you decide to use, eg docker build -t docker-whale:tag /path/to/file -f docker-whale.dockerfile
.