|
|
|
@ -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) |
|
|
|
|