-
Notifications
You must be signed in to change notification settings - Fork 781
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
Error creating build container while building the Dockerfile from React Native: https://github.com/react-native-community/docker-android/blob/master/Dockerfile #2048
Comments
@XVilka this smells like something wasn't quite right with network connections to the registries that you were trying to pull from. My
and it hit successfully on docker.io. Can you retry and see if things are working for you now? If not, can you try to change the FROM statement in your Dockerfile to look like:
|
@TomSweeneyRedHat I retried multiple times and the error quite consistent between runs. But after I added |
@XVilka thanks for the follow up note. Something is going wonky then with the repo resolution on the system. Can you share/attach the registry conf there, especially the |
@TomSweeneyRedHat I ran this as a rootless user. Sadly, I will not have access to this machine until January 7 (I am on vacation since today), so I can't share the registry configuration, but I didn't change that file, it should be the default one in Fedora 31 package. |
@XVilka no worries and thanks for the info. I too am on vacation/pto until Jan 6th and probably won't dive into this more fully until then anyway. It's nice to get the info together though in case someone else has time to dive in before then. |
I've encountered the same error, also on Fedora 31, rootless user (makes no difference though). Adding "dockier.io/" to the FROM statement in the dockerfile also fixed the problem.
|
Well we are recommending that people not use shortnames, whenever possible. Were you using the same Dockerfile? |
If after it happened could you attempt to just pull the image using buildah pull? |
No, I was not using the same dockerfile. I tried to follow the official docker tutorial from here (Dockerfile listed at the top) using podman instead of docker. And no, I wasn't able to use the image after encountering the error (didn't use the buildah command, though). |
Please show the log of what happened? |
So I changed my dockerfile back to the original (removing the "docker.io" in the FROM part) and run "podman build ...." again. Today, however, the command executes without error. So I can't reproduce it, sadly. The error I had yesterday was basically the same as the one from the start post (except for the image name). A few So I can't really add anything useful here, sorry. I'll keep using podman/ buildah and see if it reoccurs. Nevertheless, thanks for your help. |
Reopen if this happens again. |
Description
Error creating build container while building the Dockerfile from React Native: https://github.com/react-native-community/docker-android/blob/master/Dockerfile
Steps to reproduce the issue:
podman build -t reactnative .
Describe the results you received:
Describe the results you expected:
Successfully build the image
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: