Migrate to podman

This commit is contained in:
Ohad Livne 2025-06-04 22:46:46 +03:00
parent ab60906b86
commit b6c9f26ea1
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
5 changed files with 7 additions and 7 deletions

View file

@ -172,7 +172,9 @@
:disabled t)
(use-package docker
:bind ("C-c d" . docker))
:bind ("C-c d" . docker)
:custom
(docker-command "podman"))
(use-package iedit)
(use-package wgrep)

View file

@ -14,7 +14,6 @@ DEB_PKGS=(
cargo-doc
curl
direnv
docker.io
emacs-mozc
eza
fcitx5-frontend-all
@ -90,6 +89,7 @@ DEB_PKGS=(
META_PKGS=(
# keep-sorted start
fonts-noto
podman-compose
# keep-sorted end
)

View file

@ -1,7 +1,5 @@
#! /usr/bin/sh
sudo usermod --append --groups docker "${USER}"
systemctl --user enable --now syncthing.service
mkdir -p ~/Pictures/screenshots

View file

@ -1,6 +1,6 @@
#! /usr/bin/sh
docker run \
podman run \
--rm \
--volume /home/ohad/Sync/docker:/shared \
emacs_compile:latest \

View file

@ -1,14 +1,14 @@
#! /usr/bin/sh
docker run --rm -ti \
podman run --rm -ti \
--env WAYLAND_DISPLAY \
--env XDG_RUNTIME_DIR=/tmp \
--hostname localhost \
--userns=keep-id \
--mount type=bind,source="${XDG_RUNTIME_DIR}"/"${WAYLAND_DISPLAY}",target=/tmp/"${WAYLAND_DISPLAY}" \
--mount type=bind,readonly=true,source="${HOME}"/.keys/vaults,target=/home/user/.age/key \
--mount type=bind,readonly=true,source="${HOME}"/.keys/vaults.pub,target=/home/user/.age/key.pub \
--mount type=bind,source="${HOME}"/Vaults,target=/home/user/Vaults \
--network none \
--privileged=true \
vaulter:latest \
--execute '(set-frame-name "Vault Editor")'