-
Notifications
You must be signed in to change notification settings - Fork 428
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
feat: Support Podman to build container images #3201
Conversation
use podman container runtime when COPILOT_PODMAN environment variable set
I merged upstream into the branch again. Is there something else to be done for review? @Lou1415926 @iamhopaul123 |
Hi @hown3d !
If possible a design github issue or commenting on #3170 with the various alternatives would make it easier for us to accept the PR:
Again I'm really sorry about the delay on responding to the PR. |
It is possible to use Copilot with Podman instead of Docker by running the following on Mac:
This puts a symlink in place of the Docker binary, which redirects the commands to Podman |
Unfortunately after some deeper experimentation I found another blocker: Podman and Docker Desktop have differing image digest behavior which is currently breaking the AWS Copilot flow and causing the image references to be broken. Will continue to look for workarounds to this issue, but in the meantime I have opened an issue on Podman itself: containers/podman#14779 |
Hi @hown3d, I'm closing the issue for now as Nathan pointed out we can reroute |
I added an experimental Environment Variable COPILOT_PODMAN, that lets users use Podman instead of docker to build their images.
An e2e Test using Podman was also added. It's run after the docker e2e test.
Addresses #3170
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.