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

No way to specify image architecture for pull command #12

Open
NotKit opened this issue Jan 14, 2024 · 3 comments
Open

No way to specify image architecture for pull command #12

NotKit opened this issue Jan 14, 2024 · 3 comments

Comments

@NotKit
Copy link

NotKit commented Jan 14, 2024

Hello. I'm trying to use lilipod as a lightweight container manager for running distrobox on Ubuntu Touch and SailfishOS (mobile Linux distros).

It generally works after few workarounds like a wrapper for missing getsubids (similar to #7) and fixing subuid ranges on host. However for images like registry.opensuse.org/opensuse/tumbleweed:latest there seems to be no way to specify the correct architecture to fetch, and it will default to incompatible amd64 on arm64 host.

I'm not very familiar with OCI tools syntax, so please mention if this can be workarounded like by specifying the arch in the URL.

@89luca89
Copy link
Owner

For now I'm not planning support for architecture, we will see in the future 👍

@NotKit
Copy link
Author

NotKit commented Mar 11, 2024

Do you possibly know which path in code is responsible for selecting amd64 by default? Would be nice if we could patch it at least when it's run on arm64 hosts.

@89luca89
Copy link
Owner

I assume 'pkg/image_utils.go:77' it possibly needs some crane.Options in the crane.Pull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants