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)
|
:disabled t)
|
||||||
|
|
||||||
(use-package docker
|
(use-package docker
|
||||||
:bind ("C-c d" . docker))
|
:bind ("C-c d" . docker)
|
||||||
|
:custom
|
||||||
|
(docker-command "podman"))
|
||||||
|
|
||||||
(use-package iedit)
|
(use-package iedit)
|
||||||
(use-package wgrep)
|
(use-package wgrep)
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ DEB_PKGS=(
|
||||||
cargo-doc
|
cargo-doc
|
||||||
curl
|
curl
|
||||||
direnv
|
direnv
|
||||||
docker.io
|
|
||||||
emacs-mozc
|
emacs-mozc
|
||||||
eza
|
eza
|
||||||
fcitx5-frontend-all
|
fcitx5-frontend-all
|
||||||
|
|
@ -90,6 +89,7 @@ DEB_PKGS=(
|
||||||
META_PKGS=(
|
META_PKGS=(
|
||||||
# keep-sorted start
|
# keep-sorted start
|
||||||
fonts-noto
|
fonts-noto
|
||||||
|
podman-compose
|
||||||
# keep-sorted end
|
# keep-sorted end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
#! /usr/bin/sh
|
#! /usr/bin/sh
|
||||||
|
|
||||||
sudo usermod --append --groups docker "${USER}"
|
|
||||||
|
|
||||||
systemctl --user enable --now syncthing.service
|
systemctl --user enable --now syncthing.service
|
||||||
|
|
||||||
mkdir -p ~/Pictures/screenshots
|
mkdir -p ~/Pictures/screenshots
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#! /usr/bin/sh
|
#! /usr/bin/sh
|
||||||
|
|
||||||
docker run \
|
podman run \
|
||||||
--rm \
|
--rm \
|
||||||
--volume /home/ohad/Sync/docker:/shared \
|
--volume /home/ohad/Sync/docker:/shared \
|
||||||
emacs_compile:latest \
|
emacs_compile:latest \
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
#! /usr/bin/sh
|
#! /usr/bin/sh
|
||||||
|
|
||||||
docker run --rm -ti \
|
podman run --rm -ti \
|
||||||
--env WAYLAND_DISPLAY \
|
--env WAYLAND_DISPLAY \
|
||||||
--env XDG_RUNTIME_DIR=/tmp \
|
--env XDG_RUNTIME_DIR=/tmp \
|
||||||
--hostname localhost \
|
--hostname localhost \
|
||||||
|
--userns=keep-id \
|
||||||
--mount type=bind,source="${XDG_RUNTIME_DIR}"/"${WAYLAND_DISPLAY}",target=/tmp/"${WAYLAND_DISPLAY}" \
|
--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,target=/home/user/.age/key \
|
||||||
--mount type=bind,readonly=true,source="${HOME}"/.keys/vaults.pub,target=/home/user/.age/key.pub \
|
--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 \
|
--mount type=bind,source="${HOME}"/Vaults,target=/home/user/Vaults \
|
||||||
--network none \
|
--network none \
|
||||||
--privileged=true \
|
|
||||||
vaulter:latest \
|
vaulter:latest \
|
||||||
--execute '(set-frame-name "Vault Editor")'
|
--execute '(set-frame-name "Vault Editor")'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue