Skip to content
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

skopeo needs to support containers/storage #363

Closed
rhatdan opened this issue Jun 16, 2017 · 7 comments
Closed

skopeo needs to support containers/storage #363

rhatdan opened this issue Jun 16, 2017 · 7 comments

Comments

@rhatdan
Copy link
Member

rhatdan commented Jun 16, 2017

skopeo copy docker:registry.access.redhat.com:rhel7 storage:
Should copy rehl7 to /var/lib/containers/storage based on /etc/containers/storage.conf defaults.

skopeo copy docker:registry.access.redhat.com:rhel7 storage:/var/lib/nfs/storage
should copy rehl7 to /var/lib/nfs/storage overriding /etc/containers/storage.conf defaults.

Currently there does not seem to be a way to use skopeo and containers/storage at the same time.

@runcom
Copy link
Member

runcom commented Jun 16, 2017

mmm actually you can use:

skopeo copy docker://someimage containers-storage:someimage:latest

@rhatdan
Copy link
Member Author

rhatdan commented Jun 16, 2017

Ok great we can close this, but does this allow the specification of path?

@runcom
Copy link
Member

runcom commented Jun 16, 2017

@rhatdan I don't think so, @nalind wdyt?

@nalind
Copy link
Member

nalind commented Jun 16, 2017

It doesn't - we'd been stuffing location and driver into the storage image reference, but that's not actually enough information to let arbitrary locations be specified, and the reference parser doesn't provide a way for us to actually provide enough information. If we want to open an issue for that, I've been meaning to do something about it.

@rhatdan
Copy link
Member Author

rhatdan commented Jun 16, 2017

You want an issue in container/storage?
Also can we change container-storage to just be storage? A lot less to type.

@giuseppe
Copy link
Member

you can specify the path as: containers-storage:[overlay@/var/lib/containers/storage+/var/run/containers/storage]foo:latest, or is there something more missing?

@rhatdan
Copy link
Member Author

rhatdan commented Apr 25, 2019

Skopeo now supports containers storage. So closing.

@rhatdan rhatdan closed this as completed Apr 25, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants