Clarify docker integration with podman on fedora
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
- [Fedora Kinoite](#fedora-kinoite)
|
- [Fedora Kinoite](#fedora-kinoite)
|
||||||
- [TPM2 Luks Decryption](#tpm2-luks-decryption)
|
- [TPM2 Luks Decryption](#tpm2-luks-decryption)
|
||||||
- [Podman](#podman)
|
- [Podman](#podman)
|
||||||
- [Autostarting services with quadlets](#autostarting-services-with-quadlets)
|
- [Docker Compose and Docker Buildkit with Rootless Podman](#docker-compose-and-docker-buildkit-with-rootless-podman)
|
||||||
- [rpm-ostree](#rpm-ostree)
|
- [rpm-ostree](#rpm-ostree)
|
||||||
- [Git, Vim, etc](#git-vim-etc)
|
- [Git, Vim, etc](#git-vim-etc)
|
||||||
- [Libvirt, Qemu, KVM](#libvirt-qemu-kvm)
|
- [Libvirt, Qemu, KVM](#libvirt-qemu-kvm)
|
||||||
@@ -71,6 +71,19 @@ export REGISTRY_AUTH_FILE=$HOME/.podman-auth.json
|
|||||||
|
|
||||||
Source that and then run `podman login` to create the file.
|
Source that and then run `podman login` to create the file.
|
||||||
|
|
||||||
|
### Docker Compose and Docker Buildkit with Rootless Podman
|
||||||
|
|
||||||
|
Allows you to use podman with full docker-compose compatibility.
|
||||||
|
|
||||||
|
<https://emersion.fr/blog/2025/using-podman-compose-and-buildkit/>
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rpm-ostree install docker-compose docker-buildx
|
||||||
|
reboot
|
||||||
|
systemctl --user enable --now podman.socket
|
||||||
|
docker context create podman --docker host=unix://$XDG_RUNTIME_DIR/podman/podman.sock
|
||||||
|
docker context use podman
|
||||||
|
|
||||||
### Autostarting services with quadlets
|
### Autostarting services with quadlets
|
||||||
|
|
||||||
If you want to run something as your user at boot (like a systemd process, think ollama) you can
|
If you want to run something as your user at boot (like a systemd process, think ollama) you can
|
||||||
|
|||||||
@@ -642,6 +642,17 @@ dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-co
|
|||||||
systemctl enable --now docker
|
systemctl enable --now docker
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or use docker with podman with full docker-compose compatibility.
|
||||||
|
|
||||||
|
<https://emersion.fr/blog/2025/using-podman-compose-and-buildkit/>
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dnf install -y docker-compose docker-buildx
|
||||||
|
systemctl --user enable --now podman.socket
|
||||||
|
docker context create podman --docker host=unix://$XDG_RUNTIME_DIR/podman/podman.sock
|
||||||
|
docker context use podman
|
||||||
|
```
|
||||||
|
|
||||||
## Boxes
|
## Boxes
|
||||||
|
|
||||||
Virtualization at its boxiest.
|
Virtualization at its boxiest.
|
||||||
|
|||||||
Reference in New Issue
Block a user