From e29a0ddc910f514b5aa4dda3eb33249b2eeb21d6 Mon Sep 17 00:00:00 2001 From: Inga Date: Sun, 4 Sep 2022 03:21:10 +0200 Subject: [PATCH] fixes --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c8ab01..6bd4c50 100644 --- a/README.md +++ b/README.md @@ -416,14 +416,14 @@ riverctl float-filter-add title 'Firefox — Sharing Indicator' ### Unprivileged LXC with routing -(based on https://linuxcontainers.org/lxc/getting-started and https://wiki.alpinelinux.org/wiki/LXC) +(based partially on https://linuxcontainers.org/lxc/getting-started and https://wiki.alpinelinux.org/wiki/LXC) #### Networking (host) (assuming that your internet-connected interface is eth0, and that you want to use 10.157.1.0/24 subnet for the container) -Add the following to ``: +Add the following to `/etc/network/interfaces`: ``` auto br0 iface br0 inet static @@ -509,7 +509,7 @@ iface eth0 inet static address 10.157.1.2 netmask 255.255.255.0 gateway 10.157.1.1 -hostname ........ +hostname $(hostname) ``` Then `rc-service networking restart`, and check `ifconfig`. @@ -525,6 +525,8 @@ echo nameserver 8.8.8.8 >> /etc/resolv.conf echo nameserver 8.8.4.4 >> /etc/resolv.conf ``` +(or add them using nano on the host, as you did for interfaces) + Make sure `ping 8.8.8.8` works. APK should work too: `apd add nano neofetch` @@ -541,11 +543,17 @@ Now exit root shell (just with `exit`), and try `lxc-console -n CONTAINERNAME`. You should be able to log in using the new username and password. (To exit lxc console, use Ctrl+A, Q) +### Docker + +(inside LXC) + +TODO once nesting in LXC works + ## TODO * Fix internal mic * Docker -* IDE +* IDE (code-oss?) * Notifications * Make river usable * Make waybar usable (+waybar fonts)