Closed philnalwalker closed 4 years ago
I believe the issue here is that you don't have the extras repo created.
Installation instructions are:
sudo subscription-manager repos --enable=rhel-7-server-extras-rpms sudo yum -y install podman
@philnalwalker Just tried this and your exact Dockerfile above worked for me. I suspect this is a mirror issue.
Maybe retry after sometime or check if you can set a mirror explicitly instead of download.opensuse.org. The mirror list at https://mirrors.opensuse.org/list/repositories.html could be useful.
If that doesn't help either, it might help to check with the OBS admins at #opensuse-buildservice on freenode or file a bug at their bugzilla: https://bugzilla.opensuse.org
Closing...
@lsm5
Building using the Dockerfile above used to work for me, around 10/1 it stopped working and has not worked since.
I think the reason it worked for you is you had an older amazonlinux container cached on your system. Can you try a docker system prune -a
then building using the Dockerfile I linked above?
I had multiple other people try building this Dockerfile that used to work and it does not work for them either.
I also tried using to separate mirrors as you suggested and still receive the same error listed above.
https://provo-mirror.opensuse.org/ http://plug-mirror.rcac.purdue.edu/opensuse
@rhatdan on amazonlinux 2 the commands to enable the extras are slightly different. I used amazon-linux-extras install epel docker -y
I tried this and it did not seem to fix the problem
Building using the Dockerfile above used to work for me, around 10/1 it stopped working and has not worked since.
I think the reason it worked for you is you had an older amazonlinux container cached on your system. Can you try a
docker system prune -a
then building using the Dockerfile I linked above?
Problem with your dockerfile the FROM line doesn't have a version which therefore defaults to the latest
tag. So without knowing which version you were actually using we won't be able to reproduce it.
When I pull amazonlinux from docker hub right now I get this digest: sha256:2c99363fc74d3a39f02365b964e73cceb2b2524c00e9977e16680156e2f79ee8
however I can't match that with a digest on docker hub.
according to the readme for the amazonlinux image the latest tag is for version 2.0.20200722.0
, which gives me the same error you were getting.
Does anyone have a version number for the amazonlinux image that did work?
around 10/1 it stopped working and has not worked since. It's worth noting that the
2.0.20200722.0
that is latest on docker hub was uploaded on Jul 21 2020, so before Oct 1st.
I'm having a similar issue trying to install buildah on amazon linux 2. I'll reach out to suse as @lsm5 suggested.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When building a Dockerfile using
FROM amazonlinux
following the exact instructions on https://podman.io/getting-started/installation podman fails to install. I did try addingyum --enablerepo=devel_kubic_libcontainers_stable
to the Dockerfile per the error message with no success.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Docker build to complete successfully.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Latest Docker running on MacOS