Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
content:serverbasics:docker [2024/05/18 23:04] – [Check Docker install] Daniel | content:serverbasics:docker [2024/06/04 14:44] (aktuell) – Daniel | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Docker (rootless) + Portainer ====== | ====== Docker (rootless) + Portainer ====== | ||
- | Docker is a powerful solution for setting up Services. This on will give you hints how to setup Docker in a good way. | + | Docker is a powerful solution for setting up Services. This short Introducion |
Currently i am Experimenting on that topic, so maybe this documentation will be ready to use, maybe not. | Currently i am Experimenting on that topic, so maybe this documentation will be ready to use, maybe not. | ||
Zeile 22: | Zeile 22: | ||
===== Packages NOT to install ===== | ===== Packages NOT to install ===== | ||
- | I had really a lot of troubles with the package in the AddOn- Repository: '' | + | I had really a lot of troubles with the package |
So i disabled the following packages and locked them to never install: | So i disabled the following packages and locked them to never install: | ||
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 262: | Zeile 263: | ||
</ | </ | ||
- | Important things: | + | ==== Additional knowledge ==== |
* 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 | ||
+ | * If you see Docker complaining about Module aufs at start: do not care about - that module is obsolete | ||
+ | |||
+ | ===== IP-Filter ===== | ||
+ | |||
+ | When starting Docker, an the log says: | ||
+ | |||
+ | < | ||
+ | level=warning msg=" | ||
+ | level=info msg=" | ||
+ | |||
+ | </ | ||
+ | |||
+ | You first need to load the module with modprobe. | ||
+ | |||
+ | For system startup, use ''/ | ||
===== IPTables ===== | ===== IPTables ===== | ||
Zeile 286: | Zeile 302: | ||
</ | </ | ||
- | |||
===== Configuring Docker Daemon ===== | ===== Configuring Docker Daemon ===== | ||
Zeile 364: | Zeile 379: | ||
</ | </ | ||
- | |||
===== Create a place for Yamls ===== | ===== Create a place for Yamls ===== |