
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
THIS IMAGE IS DEPRECATED. PLEASE USE THE MULTI-ARCH IMAGES AT linuxserver/oscam
https://linuxserver.io
The https://linuxserver.io team brings you another container release featuring easy user mapping and community support. Find us for support at:
#linuxserver.iohttps://hub.docker.com/r/lsioarmhf/oscam/https://hub.docker.com/r/lsioarmhf/oscam/
Oscam is an Open Source Conditional Access Module software used for descrambling DVB transmissions using smart cards. It's both a server and a client.
docker create \ --name=oscam \ -v <path to data>:/config \ -e PGID=<gid> -e PUID=<uid> \ -p 8888:8888 \ --device=/dev/ttyUSB0 \ lsioarmhf/oscam
The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.
-p 8888 - the port(s)-v /config - where oscam should store config files and logs-e PGID for GroupID - see below for explanation-e PUID for UserID - see below for explanation--device=/dev/ttyUSB0 - for passing through smart card readersIt is based on alpine linux with s6 overlay, for shell access whilst the container is running do docker exec -it oscam /bin/bash.
If you want to pass through a smart card reader, you need to specify the reader with the --device= tag. The method used depends on how the reader is recognized.
The first is /dev/ttyUSBX. To find the correct device, connect the reader and run dmesg | tail on the host. In the output you will find /dev/ttyUSBX, where X is the number of the device. If this is the first reader you connect to your host, it will be /dev/ttyUSB0. If you add one more it will be /dev/ttyUSB1.
If there are no /dev/ttyUSBX device in dmesg | tail, you have to use the USB bus path. It will look similar to the below.
/dev/bus/usb/001/001
The important parts are the two numbers in the end. The first one is the Bus number, the second is the Device number. To find the Bus and Device number you have to run lsusb on the host, then find your USB device in the list and note the Bus and Device numbers.
Here is an example of how to find the Bus and Device. The output of the lsusb command is below.
Bus 002 Device 005: ID 076b:6622 OmniKey AG CardMan 6121
The first number, the Bus, is 002. The second number, the Device, is 005. This will look like below in the --device= tag.
--device=/dev/bus/usb/002/005
If you have multiple smart card readers, you add one --device= tag for each reader.
Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.
In this instance PUID=1001 and PGID=1001. To find yours use id user as below:
$ id <dockeruser> uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
IMPORTANT... THIS IS THE ARMHF VERSION
To set up oscam there are numerous guides on the internet. There are too many scenarios to make a quick guide. The web interface is at port 8888.
Shell access whilst the container is running: docker exec -it oscam /bin/bash
To monitor the logs of the container in realtime: docker logs -f oscam
container version number
docker inspect -f '{{ index .Config.Labels "build_version" }}' oscam
docker inspect -f '{{ index .Config.Labels "build_version" }}' lsioarmhf/oscam
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务