Podman: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
apt upgrade | apt upgrade | ||
apt install podman | apt install podman | ||
==Add Registries== | |||
<source lang="bash"> | |||
sudo tee -a /etc/containers/registries.conf >>/dev/null <<'EOF' | |||
[registries.search] | |||
registries = ['reg.chorke.org', 'quay.io', 'docker.io'] | |||
EOF | |||
</source> | |||
==Manage Images== | ==Manage Images== |
Revision as of 03:59, 1 August 2022
. /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d /devel:kubic:libcontainers:stable.list
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add -
apt update apt upgrade apt install podman
Add Registries
sudo tee -a /etc/containers/registries.conf >>/dev/null <<'EOF'
[registries.search]
registries = ['reg.chorke.org', 'quay.io', 'docker.io']
EOF
Manage Images
podman pull fedora:latest podman run -it fedora bash ~/.local/share/containers
Docker Removal
systemctl stop docker yum -y remove docker podman pull fedora:latest
Knowledge
podman logs –latest podman inspect –l podman --version podman version podman --help podman ps |
||
| ||