Skip to content

Commit

Permalink
Merge pull request #389 from bgraef/main
Browse files Browse the repository at this point in the history
update ol compose file tutorial
  • Loading branch information
bgraef authored Jul 17, 2024
2 parents a915fb4 + 80f19e5 commit 1796587
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions content/posts/ol/virt/post-30/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Using Compose Files"
date: 2023-01-20
draft: false
summary: "Learn how to use Docker Compose functionality with Podman."
summary: "Learn to install podman-compose and use compose files with Podman on Oracle Linux."
tags: ["ol","lab","tutorial","ol-podman"]
showDate: true
---
Expand All @@ -11,19 +11,25 @@ showDate: true

:crescent_moon: [Lab](https://luna.oracle.com/lab/0e800b97-2c1b-43a8-b0f0-003f1543d2ba)

:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/podman-compose)
:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/ol-podman-compose)

## 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.
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

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.
In this tutorial, you'll learn to:

- Install and use both `podman-compose` and `docker-compose` with Podman
- 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
- 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](https://docs.oracle.com/en/operating-systems/oracle-linux/podman/podman-InstallingPodmanandRelatedUtilities.html#podman-install) and cURL packages
- Access to the Internet

0 comments on commit 1796587

Please sign in to comment.