kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
d539b0e910
commit
53e3f3eb94
|
@ -55,7 +55,9 @@ docker create \
|
||||||
-v /path/to/tvshows:/data/tvshows \
|
-v /path/to/tvshows:/data/tvshows \
|
||||||
-v /path/to/movies:/data/movies \
|
-v /path/to/movies:/data/movies \
|
||||||
-v /path/for/transcoding:/transcode `#optional` \
|
-v /path/for/transcoding:/transcode `#optional` \
|
||||||
|
-v /opt/vc/lib:/opt/vc/lib `#optional` \
|
||||||
--device /dev/dri:/dev/dri `#optional` \
|
--device /dev/dri:/dev/dri `#optional` \
|
||||||
|
--device /dev/vchiq:/dev/vchiq `#optional` \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
linuxserver/emby
|
linuxserver/emby
|
||||||
```
|
```
|
||||||
|
@ -83,12 +85,14 @@ services:
|
||||||
- /path/to/movies:/data/movies
|
- /path/to/movies:/data/movies
|
||||||
volumes:
|
volumes:
|
||||||
- /path/for/transcoding:/transcode #optional
|
- /path/for/transcoding:/transcode #optional
|
||||||
|
- /opt/vc/lib:/opt/vc/lib #optional
|
||||||
ports:
|
ports:
|
||||||
- 8096:8096
|
- 8096:8096
|
||||||
ports:
|
ports:
|
||||||
- 8920:8920 #optional
|
- 8920:8920 #optional
|
||||||
devices:
|
devices:
|
||||||
- /dev/dri:/dev/dri #optional
|
- /dev/dri:/dev/dri #optional
|
||||||
|
- /dev/vchiq:/dev/vchiq #optional
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -121,11 +125,13 @@ Docker images are configured using parameters passed at runtime (such as those a
|
||||||
| `/data/tvshows` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. |
|
| `/data/tvshows` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. |
|
||||||
| `/data/movies` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. |
|
| `/data/movies` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. |
|
||||||
| `/transcode` | Path for transcoding folder, *optional*. |
|
| `/transcode` | Path for transcoding folder, *optional*. |
|
||||||
|
| `/opt/vc/lib` | Path for Raspberry Pi OpenMAX libs *optional*. |
|
||||||
|
|
||||||
#### Device Mappings (`--device`)
|
#### Device Mappings (`--device`)
|
||||||
| Parameter | Function |
|
| Parameter | Function |
|
||||||
| :-----: | --- |
|
| :-----: | --- |
|
||||||
| `/dev/dri` | Only needed if you want to use your Intel GPU for hardware accelerated video encoding (vaapi). |
|
| `/dev/dri` | Only needed if you want to use your Intel GPU for hardware accelerated video encoding (vaapi). |
|
||||||
|
| `/dev/vchiq` | Only needed if you want to use your Raspberry Pi OpenMax video encoding (Bellagio). |
|
||||||
|
|
||||||
|
|
||||||
## User / Group Identifiers
|
## User / Group Identifiers
|
||||||
|
@ -159,6 +165,14 @@ https://github.com/NVIDIA/nvidia-docker
|
||||||
|
|
||||||
We automatically add the necessary environment variable that will utilise all the features available on a GPU on the host. Once nvidia-docker is installed on your host you will need to re/create the docker container with the nvidia container runtime `--runtime=nvidia` and add an environment variable `-e NVIDIA_VISIBLE_DEVICES=all` (can also be set to a specific gpu's UUID, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the emby docker.
|
We automatically add the necessary environment variable that will utilise all the features available on a GPU on the host. Once nvidia-docker is installed on your host you will need to re/create the docker container with the nvidia container runtime `--runtime=nvidia` and add an environment variable `-e NVIDIA_VISIBLE_DEVICES=all` (can also be set to a specific gpu's UUID, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the emby docker.
|
||||||
|
|
||||||
|
### OpenMAX (Raspberry Pi)
|
||||||
|
|
||||||
|
Hardware acceleration users for Raspberry Pi OpenMAX will need to mount their /dev/vchiq video device inside of the container and their system OpenMax libs by passing the following options when running or creating the container:
|
||||||
|
```
|
||||||
|
--device=/dev/vchiq:/dev/vchiq
|
||||||
|
-v /opt/vc/lib:/opt/vc/lib
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Support Info
|
## Support Info
|
||||||
|
@ -174,6 +188,7 @@ We automatically add the necessary environment variable that will utilise all th
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **26.02.20:** - Add openmax support on Raspberry Pi.
|
||||||
* **15.02.20:** - Allow restarting emby from the gui (also allows for auto restarts after addon updates).
|
* **15.02.20:** - Allow restarting emby from the gui (also allows for auto restarts after addon updates).
|
||||||
* **02.10.19:** - Improve permission fixing for render and dvb devices.
|
* **02.10.19:** - Improve permission fixing for render and dvb devices.
|
||||||
* **13.08.19:** - Add umask environment variable.
|
* **13.08.19:** - Add umask environment variable.
|
||||||
|
|
Ładowanie…
Reference in New Issue