
This repository contains scripts for installing 64bit Unturned Linux with .NET 4.6.1 (optionally without docker). It will auto-download the game on first start, plus download updates on each restart. It can detect crashes and auto restart if it crashed. It also handles stdin/stdout correctly so you can have console input and output without RCON.
https://github.com/Eiromplays/unturned-docker
Images are hosted at eiromplays/unturned. You can visit the https://hub.docker.com/r/eiromplays/unturned for more information.
Example command to host a simple Legally Distinct Missile/RocketMod and OpenMod Unturned server:
docker run -it -v <host_path>:/home/steam/Unturned -p 27015:27015 -p 27016:27016 -e SERVER_TYPE=both --restart unless-stopped --name myserverinstance eiromplays/unturned
You can also append Unturned server args:
docker run -it -v <host_path>:/home/steam/Unturned -p 27015:27015 -p 27016:27016 -e SERVER_TYPE=both --restart unless-stopped --name myserverinstance eiromplays/unturned -SkipAssets
This will create a docker container that will listen on 27015 for Unturned and 27016 for Steam queries with Legally Distinct Missile/RocketMod and OpenMod.
You can also define STEAM_CMD_ARGS to run your own steamcmd commands on each restart:
docker run -it -v <host_path>:/home/steam/Unturned -p 27015:27015 -p 27016:27016 -e STEAM_CMD_ARGS="+download_depot <somedepot>" -e SERVER_TYPE=both --restart unless-stopped --name myserverinstance eiromplays/unturned -SkipAssets
The following are supported for the SERVER_TYPE environment variable:
To build, use docker build . -t unturned.
After building, you can start your server like the command in "Getting Started", but you will have to replace "eiromplays/unturned" with just "unturned".
First install required dependencies:
sh$ sudo apt-get install -y unzip tar curl coreutils lib32gcc1 libgdiplus
Set GAME_INSTALL_DIR, SERVER_NAME, GAME_ID (304930 for normal Unturned, *** for dedicated Unturned), SERVER_TYPE environment variables:
sh$ export GAME_INSTALL_DIR=/path/to/Unturned $ export SERVER_NAME=YOUR_SERVER_INSTANCE_NAME $ export GAME_ID=1110390 $ export SERVER_TYPE=both
If you are not using the dedicated server app (***), you must also specify STEAM_USERNAME, STEAM_PASSWORD and STEAM_GUARD_TOKEN.
sh$ export STEAM_USERNAME=YourUsername $ export STEAM_PASSWORD=YourPassword $ export STEAM_GUARD_TOKEN=YourSteamGuardToken (if you have Steam Guard enabled)
You do not have to install steamcmd, this script will do it for you.
The script also supports $STEAM_CMD_ARGS which allows you to run your own steamcmd commands on each restart (e.g. export STEAM_CMD_ARGS="+download_depot <somedepot>)
Finally, run init.sh to install / update your server. It will automatically start the server afterwards:
sh$ ./init.sh
You can also append Unturned server args like this:
sh$ ./init.sh -SkipAssets
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
不支持 push
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务