How to build Dockerfile on Windows via HTTP API?

93 Views Asked by At

I installed the docker on the Windows machine. Then I exposed the docker daemon to the localhost for the docker HTTP API usage.

Then I wrote simple Dockerfile and try to build it in the following way:

curl http://localhost:2375/build?dockerfile=/build?dockerfile=file:///D:/AAA/Dockerfile&t=ooouuu

But in the response I received followed error:

{"message":"page not found"}
"t" is not internal or external command, executable command or package file

If I understand correctly I used parameters in wrong way. Is it true? How it could be fixed?

0

There are 0 best solutions below