1 min read

Develop in Podman Containers Using Flatpak Visual Studio Code


Hey there! Ready to dive into the world of Podman containers using Visual Studio Code? Let's get started with this easy-to-follow guide. 🌟

Prerequisites

Before we begin, make sure you have the following:

  • Visual Studio Code (flatpak version)
  • Podman

Configuration Steps

  1. Install the Dev Containers Extension
    • Open Visual Studio Code.
    • Press Ctrl + Shift + X to open the Extensions view.
    • Search for and install the Dev Containers extension.
  2. Configure Podman in VS Code
    • Open the Command Palette by pressing Ctrl + Shift + P.
    • Type Dev Containers: Settings and select it.
    • Find the Dev > Containers: Docker Path option.
    • Replace docker with /app/tools/podman/bin/podman-remote in the text box.
  3. Open Your Project in VS Code
    • With the configurations complete, open your project in Visual Studio Code.
Fig. 1: Dev container option showing docker path

And that's it! You're all set to develop in Podman containers using Visual Studio Code. Happy coding! 🚀