|
|
@ -416,14 +416,14 @@ riverctl float-filter-add title 'Firefox — Sharing Indicator' |
|
|
|
|
|
|
|
|
|
|
|
### Unprivileged LXC with routing |
|
|
|
### 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) |
|
|
|
#### Networking (host) |
|
|
|
|
|
|
|
|
|
|
|
(assuming that your internet-connected interface is eth0, |
|
|
|
(assuming that your internet-connected interface is eth0, |
|
|
|
and that you want to use 10.157.1.0/24 subnet for the container) |
|
|
|
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 |
|
|
|
auto br0 |
|
|
|
iface br0 inet static |
|
|
|
iface br0 inet static |
|
|
@ -509,7 +509,7 @@ iface eth0 inet static |
|
|
|
address 10.157.1.2 |
|
|
|
address 10.157.1.2 |
|
|
|
netmask 255.255.255.0 |
|
|
|
netmask 255.255.255.0 |
|
|
|
gateway 10.157.1.1 |
|
|
|
gateway 10.157.1.1 |
|
|
|
hostname ........ |
|
|
|
hostname $(hostname) |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Then `rc-service networking restart`, and check `ifconfig`. |
|
|
|
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 |
|
|
|
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. |
|
|
|
Make sure `ping 8.8.8.8` works. |
|
|
|
APK should work too: `apd add nano neofetch` |
|
|
|
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. |
|
|
|
You should be able to log in using the new username and password. |
|
|
|
(To exit lxc console, use Ctrl+A, Q) |
|
|
|
(To exit lxc console, use Ctrl+A, Q) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Docker |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(inside LXC) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TODO once nesting in LXC works |
|
|
|
|
|
|
|
|
|
|
|
## TODO |
|
|
|
## TODO |
|
|
|
|
|
|
|
|
|
|
|
* Fix internal mic |
|
|
|
* Fix internal mic |
|
|
|
* Docker |
|
|
|
* Docker |
|
|
|
* IDE |
|
|
|
* IDE (code-oss?) |
|
|
|
* Notifications |
|
|
|
* Notifications |
|
|
|
* Make river usable |
|
|
|
* Make river usable |
|
|
|
* Make waybar usable (+waybar fonts) |
|
|
|
* Make waybar usable (+waybar fonts) |
|
|
|