Skip to content

Commit

Permalink
docs: add podman, update container image (#2214)
Browse files Browse the repository at this point in the history
* docs: add podman, update container image

* docs: address suggestions, include podman machine commands
  • Loading branch information
caroldelwing authored Feb 13, 2024
1 parent 439d04c commit 43eccf6
Showing 1 changed file with 61 additions and 4 deletions.
65 changes: 61 additions & 4 deletions docs/docs-content/devx/apps/deploy-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -392,15 +392,55 @@ docker version
Download the tutorial image to your local machine. <br />

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

<br />

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

<br />

```shell
cd terraform/hello-universe-tf/
```

</TabItem>

<TabItem label="Podman" value="Podman">

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. <br />

```bash
podman pull ghcr.io/spectrocloud/tutorials:1.1.3
```

Next, start the container, and open a bash session into it.

<br />

```shell
podman run --name tutorialContainer --interactive --tty ghcr.io/spectrocloud/tutorials:1.1.3 bash
```

Navigate to the tutorial code.
Expand Down Expand Up @@ -1203,11 +1243,28 @@ the **Enter** key. Next, issue the following command to stop the container.
<br />
<Tabs>
<TabItem label="Docker" value="Docker">
```shell
docker stop tutorialContainer && \
docker rmi --force ghcr.io/spectrocloud/tutorials:1.1.2
docker rmi --force ghcr.io/spectrocloud/tutorials:1.1.3
```
</TabItem>
<TabItem label="Podman" value="Podman">
```shell
podman stop tutorialContainer && \
podman rmi --force ghcr.io/spectrocloud/tutorials:1.1.3
```
</TabItem>
</Tabs>
:::info
If a cluster remains in the delete phase for over 15 minutes, it becomes eligible for **Force Delete**. To trigger a
Expand Down

0 comments on commit 43eccf6

Please sign in to comment.