Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
content:serverbasics:docker [2025/04/12 18:34] – [Networking in Docker rootless] Danielcontent:serverbasics:docker [2025/06/05 21:24] (aktuell) – [Configuring Docker Daemon] Daniel
Zeile 318: Zeile 318:
 ''~/.config/docker/daemon.json'' ''~/.config/docker/daemon.json''
  
-**by default, the path and the file is not existent, __create it new__  within the docker user**.+**by default, the path and the file is not existent, __create it new__ within the docker user**.
  
 For example, enable IPv6. See [[https://docs.docker.com/config/daemon/ipv6/|https://docs.docker.com/config/daemon/ipv6/]] for details. For example, enable IPv6. See [[https://docs.docker.com/config/daemon/ipv6/|https://docs.docker.com/config/daemon/ipv6/]] for details.
Zeile 335: Zeile 335:
 </file> </file>
  
-Notice: Don't use ''userns-remap''  - this won't work and makes no sense in rootless!+Notice: Don't use ''userns-remap'' - this won't work and makes no sense in rootless!
  
 Edit: "experimental": true has been removed for ipv6 with docker v27. Edit: "experimental": true has been removed for ipv6 with docker v27.
Zeile 342: Zeile 342:
  
 Maybe use this tool to generate: [[https://www.unique-local-ipv6.com|https://www.unique-local-ipv6.com]] Maybe use this tool to generate: [[https://www.unique-local-ipv6.com|https://www.unique-local-ipv6.com]]
 +
 +==== The default Network is not IPV6- enabled by default ====
 +
 +If you specify no network, or use the network: default - than as the time of writing, IPV6 will not be enabled by default.
 +
 +So, in your docker-compose.yml you need the lines:
 +<file>
 +
 +networks:
 +# Still needs to be defined while without it won't enable ipv6
 +  default:
 +    driver: bridge
 +    enable_ipv6: true
 +
 +</file>
 +
  
 ===== Networking in Docker rootless ===== ===== Networking in Docker rootless =====
  • content/serverbasics/docker.txt
  • Zuletzt geändert: 2025/06/05 21:24
  • von Daniel