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

Support Podman #499

Open
davidcastellani opened this issue Apr 2, 2024 · 1 comment
Open

Support Podman #499

davidcastellani opened this issue Apr 2, 2024 · 1 comment
Assignees

Comments

@davidcastellani
Copy link
Collaborator

does px-deploy work with podman? Not by default.

Low priority ask to rework the install script to work with podman and apple silicon macs?

i just got my new work mac, installed podman and podman-desktop, aliased docker to podman.
but since install.sh is using docker instead of podman it fails. I went ahead and just changed the docker references to podman but the below still happens.

So try pulling the images manually.

dcastellani@dcastellani--Mac15 git % podman pull ghcr.io/andrewh1978/px-deploy:6.0.1
Trying to pull ghcr.io/andrewh1978/px-deploy:6.0.1...
Error: choosing an image from manifest list docker://ghcr.io/andrewh1978/px-deploy:6.0.1: no image found in image index for architecture arm64, variant "v8", OS linux

So i tried this. I went to https://github.com/andrewh1978/px-deploy/pkgs/container/px-deploy/187046279?tag=6.0.1
saw there were two OS /Arch. I pulled the linux image manually

podman pull ghcr.io/andrewh1978/px-deploy:6.0.1@sha256:500e0fd9e6113d13bccfac99d9954a5508e2fe74c543b33559b575237de7940f

then I tagged it

dcastellani@dcastellani--Mac15 git % podman image ls
REPOSITORY                     TAG         IMAGE ID      CREATED      SIZE
ghcr.io/andrewh1978/px-deploy  <none>      f48027ada7c3  4 weeks ago  1.08 GB 
podman tag f48027ada7c3 px-deploy

and now

px-deploy list
DEPLOYMENT  CLOUD  REGION  PLATFORM  TEMPLATE  CLUSTERS  NODES/CL  CREATED

and its working.

Now to test if deploying something actually works.

@davidcastellani
Copy link
Collaborator Author

davidcastellani commented May 2, 2024

I think the main issue right now is when you try to switch to Podman from Docker, podman doesnt understand you WANT the amd64 image to be run within the Podman VM, but podman is defaulting to an arm64 version on silicon macs.

So manually pulling the amd64 version with podman and tagging it latest seems to be the major work.

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