docker-compose with fedora kinoite using podman and buildx
This commit is contained in:
@@ -29,20 +29,9 @@ export LC_ALL="C.UTF-8"
|
|||||||
# AWS
|
# AWS
|
||||||
complete -C '/usr/local/bin/aws_completer' aws
|
complete -C '/usr/local/bin/aws_completer' aws
|
||||||
|
|
||||||
# Podman
|
|
||||||
export CONTAINER_HOST=unix:///run/user/1000/podman/podman.sock
|
|
||||||
|
|
||||||
# Go puts binaries here
|
# Go puts binaries here
|
||||||
export PATH="$PATH:$(go env GOBIN):$(go env GOPATH)/bin"
|
export PATH="$PATH:$(go env GOBIN):$(go env GOPATH)/bin"
|
||||||
|
|
||||||
# Nodejs Binaries
|
|
||||||
export npm_config_prefix="$HOME/.local"
|
|
||||||
|
|
||||||
# Pyenv
|
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
||||||
eval "$(pyenv init -)"
|
|
||||||
|
|
||||||
# Calculate all folder sizes in current dir
|
# Calculate all folder sizes in current dir
|
||||||
alias {dudir,dud}='du -h --max-depth 1 | sort -h'
|
alias {dudir,dud}='du -h --max-depth 1 | sort -h'
|
||||||
# Calculate all file sizes in current dir
|
# Calculate all file sizes in current dir
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
- [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)
|
||||||
|
- [Docker Compose and Docker Buildkit](#docker-compose-and-docker-buildkit)
|
||||||
- [Network](#network)
|
- [Network](#network)
|
||||||
- [Hostname](#hostname)
|
- [Hostname](#hostname)
|
||||||
- [VLAN Setup with nmcli](#vlan-setup-with-nmcli)
|
- [VLAN Setup with nmcli](#vlan-setup-with-nmcli)
|
||||||
@@ -80,6 +81,20 @@ rpm-ostree install virt-manager libvirt
|
|||||||
systemctl enable --now libvirtd
|
systemctl enable --now libvirtd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Docker Compose and Docker Buildkit
|
||||||
|
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
||||||
## Network
|
## Network
|
||||||
|
|
||||||
### Hostname
|
### Hostname
|
||||||
|
|||||||
Reference in New Issue
Block a user