content:serverbasics:docker
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| content:serverbasics:docker [2025/08/18 19:12] – obel1x | content:serverbasics:docker [2026/03/01 11:44] (aktuell) – [Fast Stop of all Containers] obel1x | ||
|---|---|---|---|
| Zeile 324: | Zeile 324: | ||
| '' | '' | ||
| - | **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:// | For example, enable IPv6. See [[https:// | ||
| Zeile 330: | Zeile 330: | ||
| { | { | ||
| - | " | ||
| " | " | ||
| - | " | + | " |
| + | " | ||
| + | " | ||
| + | " | ||
| " | " | ||
| " | " | ||
| Zeile 341: | Zeile 343: | ||
| </ | </ | ||
| - | Notice: Don't use '' | + | Notice: Don't use '' |
| Edit: " | Edit: " | ||
| Zeile 348: | Zeile 350: | ||
| Maybe use this tool to generate: [[https:// | Maybe use this tool to generate: [[https:// | ||
| + | |||
| ==== 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 '' | This makes life easy '' | ||
| < | < | ||
| - | |||
| #!/bin/bash | #!/bin/bash | ||
| docker stop $(docker ps -a -q) | docker stop $(docker ps -a -q) | ||
| Zeile 539: | Zeile 541: | ||
| </ | </ | ||
| + | ===== 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): | ||
| + | |||
| + | < | ||
| + | if [ -z ${TVHEADEND_COMMIT+x} ]; then \ | ||
| + | TVHEADEND_COMMIT=$(curl -sX GET https:// | ||
| + | | jq -r '. | .sha' | ||
| + | fi && \ | ||
| + | |||
| + | </ | ||
content/serverbasics/docker.1755537144.txt.gz · Zuletzt geändert: von obel1x
