User Tools

Site Tools


services:podman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:podman [2024/12/19 14:13] jasservices:podman [2024/12/19 14:23] (current) jas
Line 7: Line 7:
 Fortunately, both Podman and Docker support the same image format, so you can generally use Docker images with Podman and vice versa. Images built with Docker-specific features might require minor adjustments to work with Podman.  Fortunately, both Podman and Docker support the same image format, so you can generally use Docker images with Podman and vice versa. Images built with Docker-specific features might require minor adjustments to work with Podman. 
  
-In order to use Podman on a tech-supported EECS Linux system, you must be a member of a research group that has its own servers with local storage. In order to use Podman:+In order to use Podman on a tech-supported EECS Linux system, you must be a member of a research group that has its own servers with **local** storage.
  
-1) Request permission to use Podman by sending an email to tech.  Please include your research group, and the server name where you would like to use containers.  Tech will allocate a uniqe uid/gid range for your container.+1) Request permission to use Podman by sending an email to tech.  Please include your research group, and the server name where you would like to use containers.  Tech will allocate a uniqe uid/gid range for your containers.
  
-2) By default, Podman will use the following directory within your EECS home directory for container storage$HOME/.local/share/containers/storage. However, your home directory is a network share, and that is not supported for Podman sotrage.  You must configure Podman to use local storage on your server (eg. /local/home/<user>).  Here's how you will configure that:+2) By default, Podman will use your EECS home directory for container storage ($HOME/.local/share/containers/storage)Your home directory is a network share which is not supported for container storage.  Configure Podman to use storage that is **local** to the server (eg. /local/home/<user>).  Here's how you will configure that:
  
-a) Create a **local directory** for Podman storage: +a) Get rid of any old Podman configuration in your account:
- +
-  % mkdir /local/home/<user>/container-storage +
-    +
-b) Get rid of any old Podman configuration in your acocunt:+
  
   % rm -rf ~/.local/share/containers/storage   % rm -rf ~/.local/share/containers/storage
   % rm -f ~/.config/containers   % rm -f ~/.config/containers
      
-c) Copy the default Podman storage configuration file:+b) Copy the default Podman storage configuration file to your home directory:
  
   % mkdir $HOME/.config/containers   % mkdir $HOME/.config/containers
   % cp /etc/containers/storage.conf $HOME/.config/containers/storage.conf   % cp /etc/containers/storage.conf $HOME/.config/containers/storage.conf
  
-d) Update $HOME/.config/containers/storage.conf.  +c) Update $HOME/.config/containers/storage.conf.
  
 Replace: Replace:
Line 35: Line 31:
 with: with:
  
-  runroot = "/local/home/jas/containers/storage/runroot"+  runroot = "/local/home/<user>/containers/storage/runroot"
      
 Also replace: Also replace:
Line 45: Line 41:
   graphroot = "/local/home/<user>/containers/storage"   graphroot = "/local/home/<user>/containers/storage"
  
 +Of course, replace <user> with your username.
  
 3) Now you can test container storage: 3) Now you can test container storage:
Line 79: Line 76:
 Mastodon:  @Podman_io@fosstodon.org Mastodon:  @Podman_io@fosstodon.org
 </code> </code>
 +
 +Podman has now been setup in your account.
  
 For more information on Podman: For more information on Podman:
services/podman.1734635628.txt.gz · Last modified: 2024/12/19 14:13 by jas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki