MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 3 as of 2022-10-26 23:50:54
  • podman

podman

  • https://podman.io/

Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System. Containers can either be run as root or in rootless mode.

Debian install

Toggle line numbers
   1 sudo apt -y install podman
   2 podman info
   3 
   4 podman info
   5 mkdir -p ~/.config/containers/
   6 touch $HOME/.config/containers/registries.conf 
   7 echo "unqualified-search-registries = ['registry.fedoraproject.org', 'registry.access.redhat.com', 'registry.centos.org', 'docker.io']" >  $HOME/.config/containers/registries.conf 
   8 cat $HOME/.config/containers/registries.conf 
   9 podman search alpine

Run Alpine

Containerfile

Toggle line numbers
   1 FROM alpine:3.16
   2 RUN apk add --update --no-cache python3 curl wget nano vim py3-pip
   3 CMD ["cat"]

Steps

Toggle line numbers
   1 podman build -t alpine-image  .
   2 #select docker.io/library/alpine:3.16
   3 podman run -p 8081:8081 -d -it --rm --name alpine-container --mount type=bind,source="$(pwd)",target=/app alpine-image
   4 podman ps
   5 podman exec -it env-docker-alpine-container sh
   6 cat /etc/os-release
   7 exit
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01