Migrate to podman
This commit is contained in:
parent
ab60906b86
commit
b6c9f26ea1
5 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#! /usr/bin/sh
|
||||
|
||||
sudo usermod --append --groups docker "${USER}"
|
||||
|
||||
systemctl --user enable --now syncthing.service
|
||||
|
||||
mkdir -p ~/Pictures/screenshots
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#! /usr/bin/sh
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--rm \
|
||||
--volume /home/ohad/Sync/docker:/shared \
|
||||
emacs_compile:latest \
|
||||
|
|
|
|||
|
|
@ -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")'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue