mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-13 13:53:28 +01:00
no network in vm after commit docker image and run on another server #97
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shifujun on GitHub (Jan 6, 2021).
I build and test a container well on a Ubuntu desktop, commit it and push. Then pull and run on another centos headless server.
But, in container(Arch Linux), curl work well. in macOS VM no network, include curl and nslookup.
How to debug this problem?
I noticed in README.md there is
Then have QEMU on the host if you haven't already, does it relative? I don't understand why we need install QEMU on host while docker image include it?Infos:
@sickcodes commented on GitHub (Jan 7, 2021):
--device /dev/kvmcomes with qemu@shifujun commented on GitHub (Jan 7, 2021):
could you please elaborate?
@shifujun commented on GitHub (Jan 14, 2021):
solved 🥳
The problem is we have multiple DNS server defined in Host, the first of them not working. I guess qemu just use the first one.