From 80f19e5b36169e5db6f4bf6d25f52f74c51a6dac Mon Sep 17 00:00:00 2001 From: William Graef Date: Wed, 17 Jul 2024 15:40:16 -0400 Subject: [PATCH] update ol compose file tutorial --- content/posts/ol/virt/post-30/index.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/content/posts/ol/virt/post-30/index.md b/content/posts/ol/virt/post-30/index.md index 43a7e8c3..706f3340 100644 --- a/content/posts/ol/virt/post-30/index.md +++ b/content/posts/ol/virt/post-30/index.md @@ -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 --- @@ -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