Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Makisu cant pull FROM local docker cache? #281

Open
bajacondor opened this issue Oct 21, 2019 · 4 comments
Open

Makisu cant pull FROM local docker cache? #281

bajacondor opened this issue Oct 21, 2019 · 4 comments
Labels
question Further information is requested

Comments

@bajacondor
Copy link

Describe the bug
When I specify an image that was added to the local docker registry in the a Dockerfile's FROM line, Makisu looks to index.docker.io before pulling from the local cache

To Reproduce
run the build_makisu function as described in the README with a dockerfile that specifies a local image in the FROM line

Expected behavior
Makisu should pull the image from the local cached registry

Thank you

@yiranwang52 yiranwang52 added the question Further information is requested label Oct 21, 2019
@yiranwang52
Copy link
Collaborator

You mean an image that was pulled into local docker daemon?
That's not supported.

@bajacondor
Copy link
Author

Yes. Seems like if you were building multiple images you'd want to be able to cache base layers locally. If the tool has a --load flag to push into the docker daemon, why not be able to pull from it?

@yiranwang52
Copy link
Collaborator

Makisu caches images locally in its directory, so there is no need.
Most interaction with docker daemon are also very slow.

@bajacondor
Copy link
Author

So, then how do I load an image in the FROM line that was cached locally by Makisu?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants