Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/gemstones/containers/podman.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Podman
author: Neel Chauhan
contributors: Steven Spencer
contributors: Steven Spencer, Ganna Zhyrnova
date: 2024-03-07
tags:
- docker
Expand All @@ -28,7 +28,7 @@ Let us run a [Nextcloud](https://nextcloud.com/) self-hosted cloud platform as a
podman run -d -p 8080:80 nextcloud
```

You will receive a prompt to select the container registry to download from. We will use `docker.io/library/nextcloud:latest` in our example.
You will receive a prompt to select the container registry to download from. In our example, we will use `docker.io/library/nextcloud:latest`.

Once you have downloaded the Nextcloud container, it will run.

Expand All @@ -38,7 +38,7 @@ Enter **ip_address:8080** in your web browser (assuming you opened the port in `

## Running containers as `systemd` services

As mentioned earlier, you can run Podman containers as `systemd` services. Let us now do it with Nextcloud. Run:
As mentioned, you can run Podman containers as `systemd` services. Let us now do it with Nextcloud. Run:

```bash
podman ps
Expand All @@ -50,7 +50,7 @@ You will get a list of running containers:
04f7553f431a docker.io/library/nextcloud:latest apache2-foregroun... 5 minutes ago Up 5 minutes 0.0.0.0:8080->80/tcp compassionate_meninsky
```

To make a `systemd` container and enable it on reboot, run:
To make a `systemd` container and enable it on reboot, run the following:

```bash
podman generate systemd --name compassionate_meninsky > /usr/lib/systemd/system/nextcloud.service
Expand Down