DEV Community

Vuelancer
Vuelancer

Posted on • Updated on

Podman - A Simple, Lightweight Docker Alternative

I'm excited to start my journey learning podman. I just created this blog to document my progress and share my discoveries with the developer community. I may make mistakes along the way, but I'm committed to updating this blog regularly as I learn.

Share your knowledge in the comments if you have learnt podman already.

Get Hands-on with Interactive Labs!

If you're looking for a fun way to experiment with Podman firsthand, check out these interactive labs from Red Hat: redhat-podman-interactive-labs

Checkout my youtube channel and give a follow if you like my content!

Introduction

Podman is a container engine that provides a similar experience to Docker but offers several advantages, including:

  • Podman can run without root privileges, enhancing security.
  • Podman doesn't require a central daemon, making it more lightweight and easier to manage.
  • Built-in support for pods: Podman natively supports pods, a grouping mechanism for containers.

Example dockerfile to create node server in a container


 Dockerfile
FROM node:18-alpine

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 3000

CMD ["npm", "start"]



Enter fullscreen mode Exit fullscreen mode

Few other blogs

Top comments (5)

Collapse
 
turanmahmudov profile image
Turan Mahmudov

Docker can run without root privileges.
Podman is Red Hat product, so it is Oracle. You are getting rid of Docker to just lock you in with Oracle.

Collapse
 
btp profile image
Brandon

Podman can also run without root privileges. Red hat is not affiliated with Oracle, it's an independent subsidiary of IBM.

Collapse
 
rafaelfess profile image
Rafael Silveira

Podman is licensed under an opensource license, the Apache-2.0 license.

Collapse
 
vishals1005 profile image
vishal s

Keep updating this blog!

Collapse
 
adriens profile image
adriens

Adopted ;-p

Some comments may only be visible to logged-in visitors. Sign in to view all comments.