fix: update missed documentation on building the image (#109)

This commit is contained in:
Marshall Asch 2024-07-17 08:47:22 -04:00 committed by GitHub
parent fa160869bf
commit bf68951537
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,12 +89,16 @@ Note: In this configuration, you must do some additional configuration:
### Using `docker-compose` on ARM devices
The provided `docker-compose` templates use the `plexinc/pms-docker` image which is the amd64 build and won't work on ARM devices.
The provided `docker-compose` templates use the `plexinc/pms-docker` image from [Dockerhub](https://hub.docker.com/r/plexinc/pms-docker) which is currently only build for `amd64` and won't work on ARM devices.
To use `docker-compose` with ARM devices, you must first build one of the ARM images locally.
To use `docker-compose` with ARM devices, you must first build the image for ARM locally.
```sh
docker build -t plexinc/pms-docker:latest -f Dockerfile.armv7 . # or arm64
docker build --platform linux/arm64 -t plexinc/pms-docker:latest .
```
or
```sh
docker build --platform linux/arm/v7 -t plexinc/pms-docker:latest .
```
Then you can `docker-compose up`.