Files
thpeetz-notes/Infos/IT/podman.md
T
2026-02-04 18:09:11 +01:00

60 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
tags:
- IT/Tools/podman
- IT/Container
---
## Links
- [# Why I Ditched Docker for Podman (And You Should Too)](https://codesmash.dev/why-i-ditched-docker-for-podman-and-you-should-too#heading-step-5-multi-service-applications-with-pods)
- [From Docker Compose to Kubernetes with Podman](https://www.redhat.com/en/blog/compose-kubernetes-podman)
- [Moving from docker-compose to Podman pods](https://www.redhat.com/en/blog/compose-podman-pods)
- [Podman: Managing pods and containers in a local container runtime](https://developers.redhat.com/blog/2019/01/15/podman-managing-containers-pods?intcmp=701f20000012ngPAAQ#)
- [Migrating from Docker Compose to Podman Compose: How to Make the Switch](https://medium.com/@i190548/migrating-from-docker-compose-to-podman-compose-how-to-make-the-switch-8798e6bb496d)
- [Moving to Podman from Docker & Docker Compose](https://ovyerus.com/posts/podman-from-docker/)
- [How I got my docker-compose YML to work switching to podman-compose](https://dale-bingham-soteriasoftware.medium.com/how-i-got-my-docker-compose-yml-to-work-switching-to-podman-compose-5252856c6eea)
- [Ultimate Docker to Podman Migration Guide: Its NOT difficult](https://www.simplehomelab.com/docker-to-podman-migration-guide/)
## Installation
### podman
- [How To Install Podman on Debian 12 (Bookworm)](https://computingforgeeks.com/how-to-install-podman-on-debian-12-bookworm/)
```shell
sudo apt update
sudo apt install curl gpg gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates -y
source /etc/os-release
wget http://downloadcontent.opensuse.org/repositories/home:/alvistack/Debian_$VERSION_ID/Release.key -O alvistack_key
cat alvistack_key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/alvistack.gpg >/dev/null
echo "deb http://downloadcontent.opensuse.org/repositories/home:/alvistack/Debian_$VERSION_ID/ /" | sudo tee /etc/apt/sources.list.d/alvistack.list
sudo apt update
sudo apt install podman python3-podman-compose
```
### Podman Desktop
#### [[flatpak]] für Linux
```shell
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub io.podman_desktop.PodmanDesktop
flatpak run io.podman_desktop.PodmanDesktop
flatpak update --user io.podman_desktop.PodmanDesktop
```
## Konfiguration
### WSL
Ändern der `/etc/wsl.conf`
- https://github.com/conda-forge/podman-feedstock/issues/25
```wsl.conf
[boot]
systemd=true
command="mount --make-rshared /"
[user]
default=tpeetz
```