Skip to main content

Using Compose Files

ol lab tutorial ol-podman
Table of Contents

Links

🌙 Lab

🗒 Tutorial

Details

Docker Compose is a command-line tool that uses a specially formatted YAML file as input to assemble and then run single, or multiple, containers as applications. This allows 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 has made Docker Compose not only hugely popular with both users and developers, but increasingly a requirement.

Objectives

This lab shows how to install and use both podman-compose and docker-compose with Podman, and verify they work with a simple docker-compose.yaml file.

Prerequisites

  • A client system with Oracle Linux installed
  • Podman installed (the ‘container-tools’ package)
  • Access to the Internet