Skip to content

Add support for http/https/ftp URI:s in container image directive #801

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

Closed
troglobit opened this issue Nov 5, 2024 · 0 comments
Closed
Assignees
Milestone

Comments

@troglobit
Copy link
Contributor

Currently infix-containers.yang supports the same image URLs as the podman create command. It is limited to the Image transport:path format supported by podman. There are however cases where a user may want to use other means of fetching their container images: https://, http://, and ftp:// come to mind.

The Infix container helper script supports these additional URI:s for the container load sub-command. So refactoring the script to support this also for create would be very useful, particularly for the #776 test.

@troglobit troglobit self-assigned this Nov 5, 2024
@troglobit troglobit added this to the Infix v24.11 milestone Nov 5, 2024
@troglobit troglobit mentioned this issue Nov 16, 2024
17 tasks
troglobit added a commit that referenced this issue Nov 16, 2024
 - Anonymous FTP, or URL encoded ftp://user:hostname@addr/oci.tar.gz
 - HTTP/HTTPS fetched with curl, optional credentials support
 - Verify download against an optional sha256 checksum

Ensure the unpacked directory name does not contain a ':', it is a
restricted character and cannot be part of the file name.  If this
syntax is used we retain it as the name and retag it after load.

Fix #801

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
troglobit added a commit that referenced this issue Nov 18, 2024
 - Anonymous FTP, or URL encoded ftp://user:hostname@addr/oci.tar.gz
 - HTTP/HTTPS fetched with curl, optional credentials support
 - Verify download against an optional sha256 checksum

Ensure the unpacked directory name does not contain a ':', it is a
restricted character and cannot be part of the file name.  If this
syntax is used we retain it as the name and retag it after load.

Fix #801

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
troglobit added a commit that referenced this issue Nov 18, 2024
 - Anonymous FTP, or URL encoded ftp://user:hostname@addr/oci.tar.gz
 - HTTP/HTTPS fetched with curl, optional credentials support
 - Verify download against an optional sha256 checksum

Ensure the unpacked directory name does not contain a ':', it is a
restricted character and cannot be part of the file name.  If this
syntax is used we retain it as the name and retag it after load.

Fix #801

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@wkz wkz closed this as completed in c79e198 Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant