Using Compose Files
ol
lab
tutorial
ol-podman
Table of Contents
Links
🌙 Lab
🗒 Tutorial
Details
Podman and Docker Compose are both command-line tools that use a specially formatted YAML file as input to assemble and then run single or multiple containers as applications. These tools allow developers to develop, test, and then deliver to their users a single YAML file for their application and use only one command to start and stop it reliably. This portability and reliability have made using the Compose specification hugely popular with users and developers, and it is increasingly becoming a requirement.
Objectives
In this tutorial, you’ll learn to:
- Install and use both
podman-compose
anddocker-compose
with Podman - Verify they work with a simple
docker-compose.yaml
file
Prerequisites
Minimum of a single Oracle Linux system
Each system should have Oracle Linux installed and configured with:
- A non-root user account with sudo access
- Podman and cURL packages
- Access to the Internet