From 43eccf6ce59a81e1b946ba84c0262f8bb0a3e97b Mon Sep 17 00:00:00 2001 From: caroldelwing Date: Tue, 13 Feb 2024 13:41:40 -0500 Subject: [PATCH] docs: add podman, update container image (#2214) * docs: add podman, update container image * docs: address suggestions, include podman machine commands --- docs/docs-content/devx/apps/deploy-app.md | 65 +++++++++++++++++++++-- 1 file changed, 61 insertions(+), 4 deletions(-) diff --git a/docs/docs-content/devx/apps/deploy-app.md b/docs/docs-content/devx/apps/deploy-app.md index 186c6abd19..b6b87fdc1a 100644 --- a/docs/docs-content/devx/apps/deploy-app.md +++ b/docs/docs-content/devx/apps/deploy-app.md @@ -29,7 +29,7 @@ To complete this tutorial, you will need the following items. If you select the Terraform workflow, you will need the following software installed. -- [Docker Desktop](https://www.docker.com/products/docker-desktop/) or another container management tool. +- [Docker Desktop](https://www.docker.com/products/docker-desktop/) or [Podman](https://podman.io/docs/installation). There are no expenses associated with this tutorial as everything falls under the Palette Free Tier. @@ -392,7 +392,7 @@ docker version Download the tutorial image to your local machine.
```bash -docker pull ghcr.io/spectrocloud/tutorials:1.1.2 +docker pull ghcr.io/spectrocloud/tutorials:1.1.3 ``` Next, start the container, and open a bash session into it. @@ -400,7 +400,47 @@ Next, start the container, and open a bash session into it.
```shell -docker run --name tutorialContainer --interactive --tty ghcr.io/spectrocloud/tutorials:1.1.2 bash +docker run --name tutorialContainer --interactive --tty ghcr.io/spectrocloud/tutorials:1.1.3 bash +``` + +Navigate to the tutorial code. + +
+ +```shell +cd terraform/hello-universe-tf/ +``` + + + + + +If you are not running a Linux operating system, create and start the Podman Machine in your local environment. +Otherwise, skip this step. + +```bash +podman machine init +podman machine start +``` + +Use the following command and ensure you receive an output displaying the installation information. + +```bash +podman info +``` + +Download the tutorial image to your local machine.
+ +```bash +podman pull ghcr.io/spectrocloud/tutorials:1.1.3 +``` + +Next, start the container, and open a bash session into it. + +
+ +```shell +podman run --name tutorialContainer --interactive --tty ghcr.io/spectrocloud/tutorials:1.1.3 bash ``` Navigate to the tutorial code. @@ -1203,11 +1243,28 @@ the **Enter** key. Next, issue the following command to stop the container.
+ + + + ```shell docker stop tutorialContainer && \ -docker rmi --force ghcr.io/spectrocloud/tutorials:1.1.2 +docker rmi --force ghcr.io/spectrocloud/tutorials:1.1.3 ``` + + + + +```shell +podman stop tutorialContainer && \ +podman rmi --force ghcr.io/spectrocloud/tutorials:1.1.3 +``` + + + + + :::info If a cluster remains in the delete phase for over 15 minutes, it becomes eligible for **Force Delete**. To trigger a