1
0
Fork 0

bluefeds: enable ping for rootless containers

This commit is contained in:
Pratham Patel 2022-10-02 08:18:46 +05:30
parent eebbc7d5fa
commit 1eb880da0b
1 changed files with 7 additions and 0 deletions

View File

@ -360,6 +360,13 @@ mkdir -vp /trayimurti/containers/volumes/nextcloud/{database,web}
```
### Enable workaround for "root-less containers can't ping hosts"
```bash
grep net.ipv4.ping_group_range /etc/sysctl.conf || echo "net.ipv4.ping_group_range=0 $(grep pratham /etc/subuid | awk -F ":" '{print $2 + $3}')" | sudo tee -a /etc/sysctl.conf
```
### Hugo
```bash