Creating Dev Containers using DevPod with Podman Desktop

Lukas Gentele
Hrittik Roy
2 min read

One of the core features of DevPod is being unopinionated. Without much effort, you can technically use any Open Containers Initiative (OCI) Container tools with it, and DevPod will make sure it works. 

This article focuses on one such tool called Podman and how you can utilize it to create Dev Containers with DevPod. The steps are very simple so let’s get started.

#Configuring a Docker ( OCI ) Provider

To get started, head over to the Providers tab and let’s add a new name. Don’t forget to save the configuration once you’re done. It’s super easy!

Let’s explore the advanced options and delve into the Docker Path block. Here you will get the settings to make the switch between OCIs easy.

By default, it’s on Docker but if you want to switch to Podman just make sure you have `podman` installed and change the Docker Path as below. 

This should work and you can create a workspace with it. 

#Troubleshooting

In some scenarios, that might not work. This could be because of path differences so to resolve the steps are again simple:

#Step 1: Find where’s the installation 

You need to find where the PATH of the installation which you can do with the help of which command. 

 

#Step 2: Add the PATH to Docker Path in DevPod

With that, you can use the reference path and link it successfully to make it work. The pic below shows it: 

#Final Thoughts 

The process of creating Dev Containers with DevPod is simple and can be replicated using Colima or Orbstack, depending on your preferred OCI tool.f you haven’t already, I recommend checking out DevPod here.

Also, feel free to join our Slack channel if you have any questions.

Sign up for our newsletter

Be the first to know about new features, announcements and industry insights.