image platform (linux/amd64) does not match expected platform (linux/linux/arm64)
by Mehdi Haghgoo
Hi all,
I'm trying to run rabbitmq images on MacBook M1 and I see warnings like:
WARNING: image platform (linux/amd64) does not match the expected platform (linux/linux/arm64)
I run the command:
podman run --rm -p 8000:8080 --arch linux/arm64 ghcr.io/code-with-mehdi/rabbitmq:3-management
and it fails to boot with a lot of logs that I like below:
Mozilla Community Pastebin/QTExU80S (Plain Text)
Mozilla Community Pastebin/QTExU80S (Plain Text)
Is there a special flag I need to pass to fetch arm64 images?
I'm not sure the boot issue has anything to do with the image arch incompatibility, though. Some enlightening on this from someone who has experience and insight will be appreciated.
Best regards,
Mehdi
5 months, 1 week
Fly containers on the fly using podman YAML
by Mehdi Haghgoo
I have problem running docker-compose on a Rocky Linux server 9.4. Instead of Docker Compose, I want to use Podman. A service in my compose.yaml file creates a container on the fly using Containerfile and runs the service.
When running an container equivalent to this service, how can I create the container on the fly by first building using the Containerfile and then bringing up the service?
Is this possible?
Or should I first create a custom image, push it to repo and pull it before running the container?
5 months, 2 weeks