本文を読み飛ばす

ARM SBC: podman install

My experience in the debian armhf. To install podman, according to https://wiki.debian.org/Podman.

it is need to enable the registory at search::

sudo apt install podman
echo 'unqualified-search-registries=["quay.io"]' > /tmp/registries.conf
CONTAINERS_REGISTRIES_CONF=/tmp/registries.conf podman search podman

move cache directory to an external drive,

sudo mkdir -o /nmt/external/containers.$USER
sudo chown $USER:$USER /nmt/external/containers.$USER
sudo mount -o bind /mnt/external/containers.$USER ~/.local/share/containers

thanks podman github .

I want to build the application from a debian image.

podman pull debian:12.11-slim

build the application.

mkdir app; cd app
echo "FROM debian:12.11-slim" > Containerfile
podman build

install the network program:

sudo apt install uidmap
sudo apt install slirp4netns

thanks github issue .

then run the container:

podman run

コメント

Comments powered by Disqus
宣伝: