Technology preview: Running a container inside a container
![Clay pot vases stacked inside of each other](/sysadmin/sites/default/files/styles/full/public/2021-03/container-in-container-podman.jpg?itok=bQBodcgg)
Image by Luisella Planeta Leoni from Pixabay
I recently published a video covering an overview of Podman in Podman, or in other words, running a container within a container. This is a technology preview feature in Red Hat Enterprise Linux (RHEL) 8.3.
The video covers an overview of:
- From the RHEL 8.3 host, starting a container using the
registry.redhat.io/rhel8/podman
container image (with the--privileged
option) - Within that container, building a new container image using
podman build
- Running a container (while in a container) using the newly created container image (Podman in Podman)
Please note that Podman in Podman functionality is currently only available when starting the container as root.
[ Getting started with containers? Check out this free course. Deploying containerized applications: A technical overview. ]
![Pulling podman images](/sysadmin/sites/default/files/styles/card/public/2020-03/pulling-640095_1920%20Cropped.jpg?itok=gLoE3cXa)
![Picutre frames](/sysadmin/sites/default/files/styles/card/public/2020-06/picutre-frames.jpg?itok=5f91SIj7)
![Seal peeking out of the water](/sysadmin/sites/default/files/styles/card/public/2020-06/podman-seal-peek.jpg?itok=fbMFFs0z)
![Author’s photo](/sysadmin/sites/default/files/styles/user_picture_square/public/pictures/2020-07/brian-smith.png?itok=hLizsIKS)
Brian Smith
Brian Smith is a product manager at Red Hat focused on RHEL automation and management. He has been at Red Hat since 2018, previously working with public sector customers as a technical account manager (TAM). More about me