document rootless container with own outgoing IP

This commit is contained in:
buchel_k committed 2025-05-09 11:30:56 +02:00
1 parent 77cd3a785d
commit b5ac310824
1 file changed
+1 -1
+1 -1
View File
@@ -64,5 +64,5 @@ curl "https://sysdb.psi.ch/subid/v1/config?user=$USER1&user=$USER2&user=$USER3"
```
podman run -it --rm --network=pasta:--ipv4-only,--address,192.168.254.254,--outbound,192.168.254.254 rhel9:latest /bin/bash
```
3. disable DNS caching with `networking::enable_dns_caching: false` because with the outbound IP communication does not work over the `lo` interface which is used by `systemd-resolved` (maybe some hiding NAT rule would help).
3. disable DNS caching in Hiera with `networking::enable_dns_caching: false` because with the outbound IP communication does not work over the `lo` interface which is used by `systemd-resolved` (maybe some hiding NAT rule would help).
--outbound,129.129.187.254