Benutzer-Werkzeuge

Webseiten-Werkzeuge


content:serverbasics:docker

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
content:serverbasics:docker [2025/08/18 19:12] obel1xcontent:serverbasics:docker [2026/03/01 11:44] (aktuell) – [Fast Stop of all Containers] obel1x
Zeile 324: Zeile 324:
 ''~/.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 330: Zeile 330:
  
 { {
- "ip6tables": true, 
  "ipv6": true,  "ipv6": true,
- "fixed-cidr-v6": "fd12:3456:789a:1::/64",+ "ip6tables": true, 
 + "fixed-cidr-v6": "fd12:3456:1:::/48", 
 + "iptables": true, 
 + "fixed-cidr": "172.1.0.0/16",
  "log-opts": {  "log-opts": {
    "max-size": "10m",    "max-size": "10m",
Zeile 341: Zeile 343:
 </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 348: Zeile 350:
  
 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 ==== ==== The default Network is not IPV6- enabled by default ====
Zeile 533: Zeile 536:
 This makes life easy ''docker_stop_all.sh'': This makes life easy ''docker_stop_all.sh'':
 <file> <file>
- 
 #!/bin/bash #!/bin/bash
 docker stop $(docker ps -a -q) docker stop $(docker ps -a -q)
Zeile 539: Zeile 541:
  
 </file> </file>
 +===== Find the latest Commit in git =====
 +
 +Sometimes the Repository does not offer a latest Tatg, so its hard to find the right Tag to use. Maybe this coding helps (not testet wheter to get the right commitid for the Image):
 +
 +<code>
 + if [ -z ${TVHEADEND_COMMIT+x} ]; then \
 +    TVHEADEND_COMMIT=$(curl -sX GET https://api.github.com/repos/tvheadend/tvheadend/commits/master \
 +    | jq -r '. | .sha'); \
 +  fi && \
 +
 +</code>
  
  
content/serverbasics/docker.1755537144.txt.gz · Zuletzt geändert: von obel1x

Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki