Skip to content

Commit

Permalink
docs(docker): add podman notes (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Jan 19, 2024
1 parent 2e99535 commit 6cdb7f7
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions DOCKER_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ Create and run the container (substitute your `<values>`):

```bash
docker run -d \
--device /dev/dri/ \
--name=<image_name> \
--restart=unless-stopped
--restart=unless-stopped \
-e PUID=<uid> \
-e PGID=<gid> \
-e TZ=<timezone> \
Expand Down Expand Up @@ -86,6 +87,25 @@ services:
- "47998-48000:47998-48000/udp"
```
### Using podman run
Create and run the container (substitute your `<values>`):

```bash
podman run -d \
--device /dev/dri/ \
--name=<image_name> \
--restart=unless-stopped \
--userns=keep-id \
-e PUID=<uid> \
-e PGID=<gid> \
-e TZ=<timezone> \
-v <path to data>:/config \
-p 47984-47990:47984-47990/tcp \
-p 48010:48010 \
-p 47998-48000:47998-48000/udp \
<image>
```

### Parameters
You must substitute the `<values>` with your own settings.

Expand Down Expand Up @@ -132,8 +152,9 @@ The architectures supported by these images are shown in the table below.
| tag suffix | amd64/x86_64 | arm64/aarch64 |
|-----------------|--------------|---------------|
| archlinux | ✅ | ❌ |
| debian-bookworm | ✅ | ✅ |
| debian-bullseye | ✅ | ✅ |
| fedora-36 | ✅ | ✅ |
| fedora-37 | ✅ | ✅ |
| fedora-38 | ✅ | ✅ |
| fedora-39 | ✅ | ✅ |
| ubuntu-20.04 | ✅ | ✅ |
| ubuntu-22.04 | ✅ | ✅ |

0 comments on commit 6cdb7f7

Please sign in to comment.