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

Be able to specify architecture when pulling an image. #9387

Open
cdrage opened this issue Oct 15, 2024 · 1 comment
Open

Be able to specify architecture when pulling an image. #9387

cdrage opened this issue Oct 15, 2024 · 1 comment
Labels
area/ui kind/feature 💡 Issue for requesting a new feature

Comments

@cdrage
Copy link
Contributor

cdrage commented Oct 15, 2024

Is your feature request related to a problem? Please describe

When pulling an image that has multiple architectures (AMD64, ARM64, etc.), we cannot specify which architecture to search for / pull.

For example, we cannot pull an image with the API that's the equivalent of:

podman pull cdrage/helloworld --arch arm64

Describe the solution you'd like

Modify:

    /**
     * Pull an image from a registry
     *
     * @param containerProviderConnection the connection to the local engine to use for pulling the image
     * @param imageName the name of the image to pull
     * @param callback the function called when new logs are emitted during the pull operation
     */
    export function pullImage(
      containerProviderConnection: ContainerProviderConnection,
      imageName: string,
      callback: (event: PullEvent) => void,
    ): Promise<void>;

To be able to pull a certain architecture as well.

We have the "Arch" parameter we can add to the API: https://docs.podman.io/en/latest/_static/api.html#tag/images/operation/ImagePullLibpod

Describe alternatives you've considered

No response

Additional context

No response

@cdrage
Copy link
Contributor Author

cdrage commented Oct 15, 2024

I created containers/podman-desktop-extension-bootc#919

@deboer-tim @benoitf @Firewall

Can we add this to next sprint so we can implement this functionality for bootc examples epic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui kind/feature 💡 Issue for requesting a new feature
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants