New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client: implement BuildImage #18
Comments
I am a bit confused about that. Currently I try to build an image using the go client that uses the method As I understand it correctly I need to do the following in the current state of the go client:
If I would understand that correctly and have implemented it, I would like to create better documentations in form of a pull request. So, maybe someone can tell me in detail if I am right with my assumptions. |
@zyndiecate the BuildImage method creates an image from a Dockerfile, while the ImportImage method creates an image from a tar ball. There's a So, ImportImage is the same as |
I've fixed the link in the issue description. |
Ok, cool. I will try to get building images using the remote API to work. My approach in theory would be:
Will see if that works in go as I imagine. Downloading to the filesystem would be bad. May you have any suggestions @fsouza ? |
That issue is now partially solved. |
Thanks @zyndiecate! :) |
We now need to fix the second case: when the client already have the content of the tar file, and pass that to the method using an |
It's now fixed. |
http://docs.docker.io/en/latest/api/docker_remote_api_v1.8/#build-an-image-from-dockerfile-via-stdin.
The text was updated successfully, but these errors were encountered: