No internet in the container
I have a Ubuntu container created, not I am trying to update the repository but it giving error ,failed to fetch the packages, where as there is internet connection in my installed browser.
36 Replies
what's the output of
ping 1.1.1.1 and ping google.com in the container
this is the output for install iputils-ping
I have attached txt
I think something's wrong with the container's DNS resolver
can you
curl 1.1.1.1The same issue is happening for new container (ubuntu).Output for
@Mrugendra Kulkarni, you've gained the level
1yup it's a DNS issue
Someone else had a similar issue recently, do you remember if/how they solved it?
can you show the container's /etc/resolv.conf?
This is third time now third container
can you run
nmtui in the container?Nope not found
and run
resolvectl statusdamn
run it on your host
Getting some output different than above like link1, link2 etc
yeah send it
so stuff on your main container works
*your host
Yes
yeah @Zephyr I can't find what they did
Did you try with a non-Ubuntu container? If not, can you?
Sure
Done ping is workin in arch container
But now the problem is this So now I have to install packages from terminal (host)?
Output on host
Sudo not found on your arch container is..weird?
You can use podman in host to check the logs of your Ubuntu and arch container to see if there are any issue maybe?
How to do that?
Please help me, I had created new debian container and at first it had internet access, but after restarting it was unable to connect.
I have the same problem here, did you find a solution?
No bro not yet
The internet is working fine in container but after a restart it just stop working
I haven't been able to recreate this issue, so all I can say is try to provide as many details as possible (especially podman logs for the container)
Does it only happen to containers created prior to the current boot, or all containers? (if you create a new instance of the same distro that you can't get internet on, does it work in the new one?)
Does it only work before the first time you restart blendOS, and then never again after that, or did it work for some restarts and then stop working?
At the beginning, it works flawlessly, but after reboot it stops working, after creating new container, it also get same issue, can you send e docs for podman to get logs . Creating new container of same distro get internet at beginning but then same issue occurs ( sorry for my bad English)
This is the output I am getting

Internet started working after kill and start of the container but why it is occurring at first ?
UPDATE: Internet on the container is still not working, but after restarting them with podman, it works fine
Why this is occurring ?
Interesting, good to know that restarting them with podman is a temporary fix, though
🤷♂️
Yes but what should be permanent fix?
I don't know. I'll create an issue on the github for this if one doesn't exist, so we can track it, and figure out where the problem comes from. It could be a misconfiguration by blendOS, or simply a bug in podman container autostart behavior.
Ok thanks
https://github.com/containers/podman/issues/8047 I'll check if the podman version running in blend has this issue fixed or not
GitHub
podman run --restart=always loses networking on restart · Issue #8...
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line) /kind bug Description When a restart policy to restart a container if it exits is applied (e.g. with podman run --restart=a...