=== y0sh| is now known as y0sh- | ||
=== y0sh- is now known as y0sh_ | ||
lordievader | Good morning | 06:26 |
---|---|---|
makara | yesterday my 20.04.2 LTS updated and got stuck on a grub install failure. Anyone else have that? | 09:57 |
meena | Hey folks o/` | 11:18 |
meena | I just set up a fresh ubuntu server 20.04 VM in VSphere on mac, just so i can get basic work done that isn't as painful as it is on mac | 11:18 |
meena | i installed docker from the installation screen, so it's installed from snap… aaaand, the containers cannot connect to the internet | 11:19 |
meena | there's no firewall (ufw) active, and docker has installed it's iptables rules | 11:20 |
lordievader | Including its nat rules? | 11:20 |
meena | i'm trying to read | 11:21 |
meena | oh wow | 11:21 |
meena | the official ubuntu:20.04 docker container has no ip command | 11:21 |
lordievader | That is right, they are meant to be as light as possible. | 11:22 |
meena | -A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE | 11:23 |
meena | that looks like the NAT rule is in place | 11:23 |
lordievader | Your containers get an IP in that /16? | 11:23 |
meena | i don't know :D | 11:24 |
lordievader | Can you ping vm <-> container? | 11:24 |
meena | I'm not familiar enough with docker… 😬 | 11:24 |
meena | i usually do most of my server work with FreeBSD, but a Mac OS isn't actually a FreeBSD. and docker on Mac OS is painful, too | 11:25 |
meena | Most things on Mac OS are painful, to be perfectly fair | 11:25 |
lordievader | `sudo docker container inspect <name>|grep IP` will likely tell you. | 11:26 |
meena | 172.17.0.2 | 11:26 |
meena | and the gateway is 172.17.0.1 | 11:26 |
meena | and the prefixlen is 16 | 11:27 |
meena | so, everything is in place | 11:27 |
meena | however, the nameserver is 172.16.130.1 and i suspect that's what's unreachable, or not directly reachable | 11:28 |
meena | "it was DNS" | 11:28 |
lordievader | Is there a route to 172.16? | 11:30 |
meena | 172.16.130.1 is the default gateway (of the docker host) | 11:30 |
meena | oh cool, i rebooted the host (multiple times) and now it works | 11:43 |
meena | don't you just love computers? | 11:43 |
tuxick | no | 13:02 |
tuxick | but avoiding docker makes things slightly more bearable | 13:03 |
=== genii-core is now known as genii | ||
=== genii is now known as genii-away | ||
=== genii-away is now known as genii | ||
=== StarHeart is now known as Edgan | ||
=== crptodan_mobile is now known as cryptodan_mobile | ||
=== genii is now known as genii-core | ||
brandonkal | Hello. I have a fresh install of focal and I am trying to figure out where dhcp is configured. The netplan file does not exist. | 22:08 |
brandonkal | nvm found it at 00-installer-config.yaml | 22:14 |
=== Kamilion is now known as Kamilion|KV |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!