Skip to content

podman

See https://podman.io/ for documentation.

Running podman images on maxwell

podman run hello-world

Resolved "hello-world" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull quay.io/podman/hello:latest...
Getting image source signatures
Copying blob 81df7ff16254 done   | 
Copying config 5dd467fce5 done   | 
Writing manifest to image destination
!... Hello Podman World ...!

         .--"--.           
       / -     - \         
      / (O)   (O) \        
   ~~~| -=(,Y,)=- |         
    .---. /`  \   |~~      
 ~/  o  o \~~~~.----. ~~   
  | =(X)= |~  / (O (O) \   
   ~~~~~~~  ~| =(Y_)=-  |   
  ~~~~    ~~~|   U      |~~ 

Project:   https://github.com/containers/podman
Website:   https://podman.io
Desktop:   https://podman-desktop.io
Documents: https://docs.podman.io
YouTube:   https://youtube.com/@Podman
X/Twitter: @Podman_io
Mastodon:  @Podman_io@fosstodon.org

podman will per default use your home-directory as storage. To change that modify or create ~/.config/containers/storage.conf:

[storage]
  driver = "overlay"
  graphroot = "/scratch/username/containers/storage"

podman unfortunately can't use /data/dust as container storage, so you might be quite limited in your options.

Building images

building image is very simple. For example to create a podman image from a docker recipe and convert that into a singularity image:

podman build -t my-image -f Dockerfile .
podman save -o ../my-image.tar my-image
singularity build ../my-image.sif docker-archive://../my-image.tar

If podman complains about missing subuid-entries please drop a message to maxwell.service@desy.de.