Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr3511 :: Podman like Vagrant

This is how I use Podman on the desktop

<< First, < Previous, , Latest >>

Hosted by Klaatu on Monday, 2022-01-17 is flagged as Clean and is released under a CC-BY-SA license.
containers, podman, docker, vagrant. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr3511

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:19:20

Virtualization.

Initiated by Deepgeek, this series contains contributions from many hosts on the topic of Virtualization

I used to use Vagrant to spin up minimal virtual machines when I needed to test code on a different distro than what I ran. Lately I've switched to Podman.

Install Podman with your distribution's package manager.

Configure it:


$ sudo --add-subuids 200000-265536 \
--add-subgids 200000-265536 \
$USER

Create a directory to share data between your container and your localhost:


$ mkdir data

Run a container, with your ./data directory mapped to /storage in the container:


$ podman run -it --volume ./data:/storage:Z busybox

Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?