Conversation
|
Crane support sounds interesting, but I think there's something to be aware of: The Phrased differently, I would hence expect |
|
Yeah I tend to agree with @krono, it looks like crane is just talking OCI, so why not using |
|
Hello @3XX0, would be possible to use the docker schema. However using crane is slight more convenient since it can use the same authentication files used by other tools like podman and kaniko. For the position of the code it was chosen to minimize the number of changes. Despite of being very different than the docker daemon the workflow of importation is quite similar for the two methods. Also from the user point of view it appears as a different option. The dependence on the crane executable is optional just like the dependencies on podman and docker thanks |
|
Hello @3XX0 is there any changes to this pull request that would make it acceptable? |
|
I'm not a fan of having specific logic in dockerd to accommodate different CLIs. Maybe we need a separate command to just convert the config or something. Also your patch breaks some images because of the fixperm being misplaced |
bb49d3e to
12a4290
Compare
Add option to import docker images using google crane. This schema is useful to import images without setting up docker or podman. Useful for CI/CD settings where could be complicated or not recommended to run dind (docker in docker) or podman in podman. The google crane only uses the authentication information of the repository with no needs for special configuration or permissions.