mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 16:45:49 +03:00
[GH-ISSUE #122] no network in vm after commit docker image and run on another server #97
Labels
No labels
bug
documentation
enhancement
following upstream developments
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Docker-OSX#97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/122
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.