I have been struggling to get docker to run properly using a multipass instance with bridged networking. I keep running into troubles with the docker0 network being down and I cannot seem to get it to work right. I have internet access in the client vm, I can ssh into the vm just fine.
Here is what I see for the docker0 interface:
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:0d:47:aa:99 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
NOTE: I cannot use the 'docker' multipass template because I need a different instance of Ubuntu than what the template provides. Here is my command:
multipass launch --name pa --disk 150G --cpus 4 --memory 8G --bridged bionic
I am using the installation instructions from here rather than using snap, but tried that too and it didn't work either.
Here is my route information:
default via 10.0.2.2 dev enp0s3 proto dhcp src 10.0.2.15 metric 100
default via 192.168.68.1 dev enp0s8 proto dhcp src 192.168.68.97 metric 200
10.0.2.0/24 dev enp0s3 proto kernel scope link src 10.0.2.15 metric 100
10.0.2.2 dev enp0s3 proto dhcp scope link src 10.0.2.15 metric 100
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.0.1 via 10.0.2.2 dev enp0s3 proto dhcp src 10.0.2.15 metric 100
192.168.0.1 via 192.168.68.1 dev enp0s8 proto dhcp src 192.168.68.97 metric 200
192.168.68.0/22 dev enp0s8 proto kernel scope link src 192.168.68.97 metric 200
192.168.68.1 dev enp0s8 proto dhcp scope link src 192.168.68.97 metric 200
Any assistance would be greatly appreciated.
EDIT: The host is a windows machine running VirtualBox