Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
content:serverbasics:docker [2024/04/22 10:14] – Daniel | content:serverbasics:docker [2024/05/18 23:04] – [Check Docker install] Daniel | ||
---|---|---|---|
Zeile 191: | Zeile 191: | ||
Ceck the Environement to have the settings: | Ceck the Environement to have the settings: | ||
+ | |||
< | < | ||
- | |||
docker@pcserver2023: | docker@pcserver2023: | ||
Connection to localhost closed. | Connection to localhost closed. | ||
Zeile 205: | Zeile 205: | ||
Now check '' | Now check '' | ||
- | |||
< | < | ||
docker@pcserver2023: | docker@pcserver2023: | ||
Zeile 260: | Zeile 259: | ||
Live Restore Enabled: false | Live Restore Enabled: false | ||
| | ||
- | |||
- | WARNING: bridge-nf-call-iptables is disabled | ||
- | WARNING: bridge-nf-call-ip6tables is disabled | ||
</ | </ | ||
Zeile 270: | Zeile 266: | ||
* Storage driver and FS-Type : overlay2 should always be used, btrfs is outdated! XFS and d_type are important! | * Storage driver and FS-Type : overlay2 should always be used, btrfs is outdated! XFS and d_type are important! | ||
* CGroup Version needs to be 2 or better | * CGroup Version needs to be 2 or better | ||
+ | |||
+ | ===== IPTables ===== | ||
+ | |||
+ | If you see '' | ||
+ | |||
+ | < | ||
+ | WARNING: bridge-nf-call-iptables is disabled | ||
+ | WARNING: bridge-nf-call-ip6tables is disabled | ||
+ | |||
+ | </ | ||
+ | |||
+ | This should be fixed by: | ||
+ | |||
+ | < | ||
+ | # sudo echo " | ||
+ | # sudo echo " | ||
+ | # sudo modprobe br_netfilter | ||
+ | # sudo sysctl --system | ||
+ | |||
+ | </ | ||
+ | |||
===== Configuring Docker Daemon ===== | ===== Configuring Docker Daemon ===== | ||
Zeile 277: | Zeile 294: | ||
'' | '' | ||
- | **by default, the path and the file is not existent, | + | **by default, the path and the file is not existent, |
- | For example, enable | + | For example, enable |
< | < | ||
Zeile 285: | Zeile 302: | ||
" | " | ||
" | " | ||
+ | " | ||
+ | " | ||
" | " | ||
" | " | ||
Zeile 292: | Zeile 311: | ||
</ | </ | ||
+ | |||
+ | You need to adjust cidr to match your network, check first 4 blocks of '' | ||
Notice: Don't use '' | Notice: Don't use '' | ||
Zeile 325: | Zeile 346: | ||
Your done with the compose plugin | Your done with the compose plugin | ||
+ | |||
+ | ===== Update ===== | ||
+ | |||
+ | If you want to update your docker- installation, | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | #Upgrade docker rootless and plugin | ||
+ | systemctl --user stop docker | ||
+ | rm -f ~/ | ||
+ | curl -fsSL https:// | ||
+ | #need to give the new binary permissions to acces privileged network ports (beneath 1024) | ||
+ | sudo setcap ' | ||
+ | |||
+ | # If you installed docker compose, check the newest version first at https:// | ||
+ | curl -SL https:// | ||
+ | |||
+ | </ | ||
+ | |||
===== Create a place for Yamls ===== | ===== Create a place for Yamls ===== | ||
Zeile 337: | Zeile 377: | ||
As always, SSH into your docker- user and than create the folders and yml-files for docker compose and portainer. | As always, SSH into your docker- user and than create the folders and yml-files for docker compose and portainer. | ||
- | |||
< | < | ||
+ | |||
obel1x@server: | obel1x@server: | ||
Password: | Password: |