添加 image build 命令
Closed this issue · 1 comments
Gscienty commented
docker build 过程 需要向 docker daemon 提交文件夹(tar)。并通过dockerfile参数指定tar中Dockfile文件所在位置。
例如: curl --unix-socket /var/run/docker.sock -XPOST -H"Content-Type: application/x-tar" 'http://localhost/build?t=test:latest&dockerfile=./humha/Dockerfile' --data-binary @humha.tar