-
Notifications
You must be signed in to change notification settings - Fork 660
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
hi,I found a problem, after install multipass, apt updaate in the docker container, dns resolution will be wrong #1435
Comments
Hi @jclivi can you please be a bit more clear about what you're trying to do? Can you just post the commands you ran before Multipass has no relation to docker, nor does it deal in containers… |
@Saviq |
$ sudo apt install -y snapd core |
@jclivi this is still on Deepin Linux? With the default Both Multipass and Docker use separate (but similar) network stacks. They should not be influencing one another. I'm sorry, but it's still unclear to me what "docker container" are you referencing. |
“container” ubuntu 18.04 |
yes, Deepin Linux |
@jclivi where is the docker container you're referencing? Do you actually mean a Multipass instance? And there is no Docker (it's a completely different technology) in play here? |
@Saviq |
After apt update, I couldn't find the reason. I reinstalled the system. I encountered it twice in the same situation, but still couldn't find a solution. |
OK so let me try and summarize:
Did you try removing Multipass to see if that fixes it? Are new Docker containers affected as well? Please post the commands you used to install Docker and create the container so we can try and reproduce locally. |
@Saviq "docker container" is, ok “deepin linux” $ docker exec -it ubuntu18 /bin/bash is, error |
Thanks @jclivi we'll try and repro this. |
$ docker exec -it be805af58e79 /bin/bash |
We have an issue that seems clearly related, and reproduction is even more fundamental (no name resolution involved, can't ping an ip address):
works fine. then on host system: After that, the ping in the docker container stops working. This error seems to have popped up relatively recently (ca. last week). We observed it first in a more complicated environment, where docker is used to run some CI, and multipass is run by snapcraft, but what I showed here is the minimal setup to reproduce it. |
This is solved now through #2183 |
Duplicate of #2183 |
$ apt updaate
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Could not resolve 'archive.ubuntu.com'
The text was updated successfully, but these errors were encountered: