Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
content:serverbasics:docker [2024/05/19 08:56] – [Check Docker install] Danielcontent: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 will give you hints how to setup Docker in a good way in userspace, so no root-access is needed for Docker.
  
 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: ''[[https://download.opensuse.org/repositories/Virtualization:/containers/${releasever}/|https://download.opensuse.org/repositories/Virtualization:/containers/${releasever}/]]'' while they are not installing docker the same way, that docker would do. For example they will not be installed in User-Subspace only, but will use systems Docker executables installed in global paths. This is a problem when using btrfs - as btrfs is not fully compatible with docker. So i won't use this any more.+I had really a lot of troubles with the package Docker-Rootless in the AddOn- Repository: ''[[https://download.opensuse.org/repositories/Virtualization:/containers/${releasever}/|https://download.opensuse.org/repositories/Virtualization:/containers/${releasever}/]]'' while they are not installing docker the same way, that docker would do. For example they will not be installed in User-Subspace only, but will use systems Docker executables installed in global paths. This is a problem when using btrfs - as btrfs is not fully compatible with docker. So i won't use this any more.
  
 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:
- 
 <code> <code>
 +
 docker@pcserver2023:~> Abgemeldet docker@pcserver2023:~> Abgemeldet
 Connection to localhost closed. Connection to localhost closed.
Zeile 205: Zeile 205:
  
 Now check ''docker info'': Now check ''docker info'':
 +
 <code> <code>
 docker@pcserver2023:~> docker info docker@pcserver2023:~> docker info
Zeile 281: Zeile 282:
  
 For system startup, use ''/etc/modules-load.d''  and creat e a file ''docker-rootless.conf''  in it, containing that module. For system startup, use ''/etc/modules-load.d''  and creat e a file ''docker-rootless.conf''  in it, containing that module.
- 
  
 ===== IPTables ===== ===== IPTables =====
Zeile 302: Zeile 302:
  
 </code> </code>
- 
  
 ===== Configuring Docker Daemon ===== ===== Configuring Docker Daemon =====
Zeile 380: Zeile 379:
  
 </file> </file>
- 
  
 ===== Create a place for Yamls ===== ===== Create a place for Yamls =====
  • content/serverbasics/docker.txt
  • Zuletzt geändert: 2024/06/04 14:44
  • von Daniel