embyserver

emby/embyserver

emby
自动构建

官方的Emby媒体服务器(64位amd64架构)是用于集中管理、组织和流式传输电影、音乐、照片、剧集等各类媒体文件的官方版本应用程序,支持多平台设备访问,提供高清播放、自定义媒体库分类、用户权限管理及跨设备同步等功能,适用于64位系统,为用户打造便捷高效的家庭媒体中心解决方案。

667 次收藏下载次数: 0状态:自动构建维护者:emby仓库类型:镜像最近更新:12 天前
让 AI 帮你使用轩辕镜像?

如果你使用 DeepSeek元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AIDeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

下载命令
点击查看

Emby Media Server

!Alt text

  • Introduction
    • Supported Architectures
    • Supported Tags
    • Issues
  • Getting started
    • Installation
    • Upgrade
  • DLNA and WoL
  • VAAPI
  • NVDEC/NVENC
  • unRAID
    • Installation

Introduction

Emby Server is a home media server built on top of other popular open source technologies such as Service Stack, jQuery, jQuery mobile, and .NET Core.

It features a REST-based API with built-in documention to facilitate client development. We also have client libraries for our API to enable rapid development.

Supported Architectures

Emby supports the arm32v7, arm64v8 and amd64 architectures as multi-platform images.

Supported Tags

  • latest: latest stable multi-platform release
  • beta: latest beta multi-platform release

Issues

Before reporting your issue please try updating Docker to the latest version and check if it resolves the issue. Refer to the Docker https://docs.docker.com/installation for instructions.

SELinux users should try disabling SELinux using the command setenforce 0 to see if it resolves the issue.

If the above recommendations do not help then report your issue along with the following information:

  • Output of the docker version and docker info commands
  • The docker run command or docker-compose.yml used to start the image. Mask out the sensitive bits.
  • Please state if you are using Boot2Docker, [***] etc.

Getting started

Installation

It is recommended you install directly from the https://hub.docker.com/r/emby/embyserver/.

sh
docker pull emby/embyserver:latest

The new .NET Core version is entirely configured via the command line. The launcher script and configuration files are gone, as well as the in-place update feature. Updates are now retrieved by simply pulling the latest image from the hub.

The container can be run using the following Docker Compose file:

sh
version: "2.3"
services:
  emby:
    image: emby/embyserver
    container_name: embyserver
    runtime: nvidia # Expose NVIDIA GPUs
    network_mode: host # Enable DLNA and Wake-on-Lan
    environment:
      - UID=1000 # The UID to run emby as (default: 2)
      - GID=100 # The GID to run emby as (default 2)
      - GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2)
    volumes:
      - /path/to/programdata:/config # Configuration directory
      - /path/to/tvshows:/mnt/share1 # Media directory
      - /path/to/movies:/mnt/share2 # Media directory
    ports:
      - 8096:8096 # HTTP port
      - 8920:8920 # HTTPS port
    devices:
      - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
      - /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi
    restart: on-failure

Or using the following command:

sh
docker run -d \
    --name embyserver \
    --volume /path/to/programdata:/config \ # Configuration directory
    --volume /path/to/share1:/mnt/share1 \ # Media directory
    --volume /path/to/share2:/mnt/share2 \ # Media directory
    --net=host \ # Enable DLNA and Wake-on-Lan
    --device /dev/dri:/dev/dri \ # VAAPI/NVDEC/NVENC render nodes
    --device /dev/vchiq:/dev/vchiq \ # MMAL/OMX on Raspberry Pi
    --gpus all \ # Expose NVIDIA GPUs
    --publish 8096:8096 \ # HTTP port
    --publish 8920:8920 \ # HTTPS port
    --env UID=1000 \ # The UID to run emby as (default: 2)
    --env GID=100 \ # The GID to run emby as (default 2)
    --env GIDLIST=100 \ # A comma-separated list of additional GIDs to run emby as (default: 2)
    --restart on-failure # Auto-start on boot, and restart on failure
    emby/embyserver:latest

Please adapt the UID, GID and GIDLIST values to match the owner of your media files. GIDLIST is also needed to grant access to VAAPI/NVDEC/NVENC render nodes. It is recommended to leave UID and GID as is so that emby runs with the least amount of privileges, and use GIDLIST to obtain the permissions you need.

ls -l <directory> will give you user and group information of your media directories and render nodes, getent passwd <user> | cut -d: -f3 and getent group <group> | cut -d: -f3 will respectively print UID and GID.

Once your container is running, you may access the web interface on port 8096 or 8920 on the IP of your docker host: http://<docker_host>:8096.

Upgrade

The command used to install should also be used to upgrade:

sh
docker pull emby/embyserver:latest

DLNA and WoL

The easiest way for DLNA and Wake-on-Lan to work properly is to use the host networking mode. It may work in bridge mode as well with a more advanced configuration.

VAAPI

Note: This applies to amd64 only.

Emby now comes with a VAAPI-enabled ffmpeg out of the box on Intel platforms with HD graphics. For VAAPI to work, emby needs access to a render node, usually /dev/dri/renderD128. On most modern distros, this render node belongs to the video group, others belong to the render group. All you need to do is mount the render node and add the video group GID to the GIDLIST variable as described above.

You can get the video and/or render GIDs using the following command:

sh
getent group video | cut -d: -f3
getent group render | cut -d: -f3

NVDEC/NVENC

Note: This applies to amd64 only.

Emby can also utilize your NVIDIA GPU with a little more work, using the NVIDIA docker runtime. You will need to install the nvidia-container-runtime or the legacy nvidia-docker2 package first depending on your distribution, then restart the docker daemon.

Again, you can get the video and/or render GIDs using the following command and set the GIDLIST variable accordingly:

sh
getent group video | cut -d: -f3
getent group render | cut -d: -f3

unRAID

Please navigate to the Docker settings page on unRAID's Web-UI and under repositories add:

https://github.com/MediaBrowser/Emby.Build/tree/master/unraid-templates/emby

For more information on adding templates to unRAID please visit the unRAID forums.

更多相关 Docker 镜像与资源

以下是 emby/embyserver 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:

  • amilys/embyserver Docker 镜像说明(Emby 媒体服务器变体,适合家庭影音库与多设备串流)
  • nyanmisaka/jellyfin Docker 镜像说明(开源媒体服务器,支持多平台流媒体播放)
  • jellyfin/jellyfin Docker 镜像说明(Jellyfin 媒体服务器,开源流媒体平台,支持多平台播放)
  • linuxserver/jellyfin Docker 镜像说明(Jellyfin 媒体服务器,LinuxServer 维护版本)
  • lsiodev/jellyfin Docker 镜像说明(LinuxServer Jellyfin 媒体服务器,适合家庭影音库与串流播放)

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面

轩辕镜像加速拉取命令点我查看更多 embyserver 镜像标签

docker pull docker.xuanyuan.run/emby/embyserver:<标签>

DockerHub 原生拉取命令

docker pull emby/embyserver:<标签>

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告