0

我在 Windows 机器上安装了 docker。然后我将 docker 守护进程暴露给 localhost 以使用 docker HTTP API。

然后我编写了简单的 Dockerfile 并尝试按以下方式构建它:

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

但在我收到的回复中出现以下错误:

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

如果我理解正确,我以错误的方式使用了参数。这是真的吗?怎么可能修好?

4

0 回答 0