Skip to content

Commit 40a7aaa

Browse files
podman_guide.md (#2212)
Grammar Check
1 parent 901e73e commit 40a7aaa

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

docs/guides/containers/podman_guide.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -163,22 +163,22 @@ To automatically run the container upon system start or user login, you can add
163163
WantedBy=default.target
164164
```
165165

166-
Then let the generator run again, and enable your service:
166+
Then let the generator run again and enable your service:
167167

168168
```bash
169169
systemctl --user daemon-reload;
170170
systemctl --user enable nextcloud.service;
171171
```
172172

173-
Other file types are supported: pod, volume, network, image and kube. [Pods](https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html#pod-units-pod) for instance can be used to group containers – the generated systemd services and theirs dependencies (create the pod before the containers) are automatically managed by systemd.
173+
Other file types are supported: pod, volume, network, image, and kube. [Pods](https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html#pod-units-pod), for instance, can be used to group containers – the generated systemd services and their dependencies (create the pod before the containers) are automatically managed by systemd.
174174

175175
### Using `podman generate systemd`
176176

177177
Podman additionally provides the `generate systemd` subcommand. Use this subcommand to generate `systemd` service files.
178178

179179
!!! warning
180180

181-
`generate systemd` is now deprecated and will not receive further features. Usage of Quadlet is recommended.
181+
`generate systemd` is now deprecated and will not receive further features. The usage of Quadlet is recommended.
182182

183183
Let us now do it with Nextcloud. Run:
184184

@@ -207,7 +207,7 @@ When your system reboots, Nextcloud will restart in Podman.
207207

208208
## Containerfiles
209209

210-
A Containerfile is a file used by Podman to create container images. Containerfiles use the same syntax as Dockerfiles, so you can build your container images with Podman like you would with Docker.
210+
A Containerfile is a file used by Podman to create container images. Containerfiles use the same syntax as Dockerfiles, so you can build your container images with Podman like you would with Docker.
211211

212212
### Web server from a Containerfile
213213

@@ -332,7 +332,7 @@ podman stop rockywebserver && podman rm rockywebserver
332332

333333
!!! tip
334334

335-
You can add the `--rm` switch to automatically delete the container once it stopps.
335+
You can add the `--rm` switch to automatically delete the container once it stops.
336336

337337
If you relaunch the build process, `podman` will use a cache at each step of the build:
338338

@@ -377,32 +377,32 @@ podman system prune -a -f
377377

378378
## Pods
379379

380-
Pods are a way to group container together. Containers in a pod share some settings, like mounts, resource allocations or port mappings.
380+
Pods are a way to group containers together. Containers in a pod share some settings, like mounts, resource allocations, or port mappings.
381381

382382
In Podman, you manage pods using the `podman pod` subcommand, similar to many Podman commands, to control containers:
383383

384384
| Command | Description |
385385
|-- |-- |
386-
| clone | Create a copy of an existing pod. |
387-
| create | Create a new pod. |
388-
| exists | Check if a pod exists in local storage. |
386+
| clone | Creates a copy of an existing pod. |
387+
| create | Creates a new pod. |
388+
| exists | Checks if a pod exists in local storage. |
389389
| inspect | Display information describing a pod. |
390-
| kill | Kill the main process of each container in one or more pods. |
391-
| logs | Display logs for pod with one or more containers. |
392-
| pause | Pause one or more pods. |
393-
| prune | Remove all stopped pods and their containers. |
394-
| ps | Print out information about pods. |
395-
| restart | Restart one or more pods. |
396-
| rm | Remove one or more stopped pods and containers. |
397-
| start | Start one or more pods. |
398-
| stats | Display a live stream of resource usage stats for containers in one or more pods. |
399-
| stop | Stop one or more pods. |
400-
| top | Display the running processes of containers in a pod. |
401-
| unpause | Unpause one or more pods. |
402-
403-
Containers grouped into a pod can access each other by using localhost. This is usefull, for instance, when setting up Nextcloud with a dedicated database like postgres. Nextcloud can access the database, but the database does not need to be accessible from outside the containers.
404-
405-
To create a pod containing Nextcloud and a dedicated database run:
390+
| kill | Kills the main process of each container in one or more pods. |
391+
| logs | Displays logs for pod with one or more containers. |
392+
| pause | Pauses one or more pods. |
393+
| prune | Removes all stopped pods and their containers. |
394+
| ps | Prints out information about pods. |
395+
| restart | Restarts one or more pods. |
396+
| rm | Removes one or more stopped pods and containers. |
397+
| start | Starts one or more pods. |
398+
| stats | Displays a live stream of resource usage stats for containers in one or more pods. |
399+
| stop | Stops one or more pods. |
400+
| top | Displays the running processes of containers in a pod. |
401+
| unpause | Unpauses one or more pods. |
402+
403+
Containers grouped into a pod can access each other by using localhost. It is useful, for instance, when setting up Nextcloud with a dedicated database like Postgres. Nextcloud can access the database, but the database does not need to be accessible from outside the containers.
404+
405+
To create a pod containing Nextcloud and a dedicated database, run the following:
406406

407407
```bash
408408
# Create the pod with a port mapping
@@ -415,7 +415,7 @@ podman create --pod nextcloud --name nextcloud-app nextcloud
415415
podman create --pod nextcloud --name nextcloud-db -e POSTGRES_HOST_AUTH_METHOD=trust postgres
416416
```
417417

418-
To run you newly created pod run:
418+
To run your newly created pod, run:
419419

420420
```bash
421421
podman pod start nextcloud

0 commit comments

Comments
 (0)