GoogleContainerTools / GoogleContainerTools/jib

Feature Request - build to docker without docker binary

Open
#3,571 19 comments 9 reactions 0 assignees View on GitHub
area/jib-core area/jib-gradle-plugin area/jib-maven-plugin enhancement priority:p3
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**Description of the issue**:
The docker build requires docker CLI to load the image built by jib to the docker daemon. It would be great if you could remove this dependency by implementing a simple HTTP post of the tarball to a configurable target. Example with curl:
```
curl --unix-socket /var/run/docker.sock --header "Content-Type: application/x-tar" --data-binary "@target/jib-image.tar" http://localhost/images/load
```
So far the communication flavours that I am aware of are:
* HTTP via unix socket (example above)
* HTTP via TCP
* HTTPS via TCP
* HTTP via windows named pipe

**Expected behavior**:
Being able to build to docker without a docker binary installed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.