edgegap-containerize
Package any game server (Unreal, Godot, Node, Go, Rust, C++, a Unity build) into a Docker image that runs correctly on Edgegap, push it to the Edgegap Container Registry or Docker Hub, GHCR, ECR, GCR or GitLab, and register it as an app version: the container contract, Dockerfile patterns, linux/amd64 builds on Apple Silicon, image tags, registry credentials on the version, and port mapping. Use whenever writing or fixing a Dockerfile for a game server, building on a Mac, pushing to registry.edgegap.com, getting "unable to pull image" or exec format errors, or when someone asks how to get a server build onto Edgegap. Engine-agnostic; edgegap-unity has a ready Unity Dockerfile.
原文 · 译文尚未补齐适用对象:设计与内容创作。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Containerizing a game server for Edgegap
- The container contract
- Dockerfile pattern
- Build and push
- Register it as an app version
- Verify before shipping
An image runs correctly on Edgegap when: 1. It is linux/amd64. Edgegap runs Linux x86-64 only. No Windows containers, no ARM images. On Apple Silicon and other ARM machines, always build with --platform linux/amd64; an ARM image fails on Edgegap with exec format error or "not found". 2. The server starts with no input. No prompts, no TTY, headless flags on (Unity -batchmode -nographics, Godot --headless, Unreal server target with -log). Configuration arrives as env vars (edgegap-server-design). 3. The game server is PID 1, or receives signals. Use exec-form CMD/ENTRYPOINT (["./server", "-log"]), or end a start script with exec ./server "$@". A shell that stays PID 1 swallows SIGTERM and the server dies at SIGKILL without draining. npm start has the same problem; run node server.js directly. 4. It binds 0.0.0.0 on the internal port declared in the app version, with the matching protocol. 5. It logs to stdout/stderr. Log files inside the container are invisible to Edgegap. 6. No secrets in the image. Not the Edgegap API token, not registry credentials, not third-party keys. Secrets go on the app version as hidden env vars. 7. It never prints its environment. env; in a CMD (common in
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- edgegap/llm-agent-skills
- 源文件
- skills/edgegap-containerize/SKILL.md
- 固定版本
- fd510ba826ea29ab359e70e185d2e650ef6827de
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:edgegap/llm-agent-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-11T08:01:42.839Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
Apache-2.0。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。