How to Run a Rust Server with Containers - For LAN Parties & Public Hosting
- GamingServers

- Aug 5
- 2 min read
Running your own Rust server doesn’t have to be complicated — and with container technology, it’s easier, faster, and more portable than ever. Whether you're planning a local LAN party or want to open your own public Rust server, this guide will walk you through the essential setup using Docker (or Podman), and explain what kind of hardware and network setup you'll need.
---
🔧 Step-by-Step: Running Rust in a Container
Here's how to spin up a Rust server in Docker using a reliable image from the community:
docker run -d --name rust-server \
-p 28015:28015/tcp \
-p 28015:28015/udp \
-p 28016:28016/tcp \
-e SERVER_NAME="MyRustServer" \
-e RCON_PASSWORD="changeme123" \
pfeiffermax/rust-game-server:latest \
+server.port 28015 \
+rcon.port 28016 \
+server.hostname "MyRustServer" \
+server.maxplayers 10 \
+server.worldsize 1000 \
+server.seed 1234 \
+server.gamemode vanilla \
+server.identity myrustidentity
You can modify the world size, player count, or add mods and plugins. If you're running a LAN-only server, you don’t need to expose ports to the internet, just ensure everyone is on the same network.
---
🖥️ Requirements for Hosting
✅ For a LAN Party
If you're hosting a Rust LAN server, these are the minimum requirements:
Component Recommended Minimum
CPU 2–4 cores (modern x86_64, 3.0GHz+)
RAM 8–16 GB
Storage 20–40 GB (SDD or NVMe preferred)
Network Wired LAN with low latency
OS Linux or Windows with Docker support
Pro tip: Use a wired router or switch with gigabit support for stable connections.
🌍 For a Public Server
To run a server open to the world, you’ll need:
Component Recommended
CPU 4–8 threads minimum
RAM 16–32 GB
Disk Fast SSD or NVMe (at least 40 GB)
Bandwidth Minimum 10 Mbps upload (preferably 100 Mbps or unmetered)
Uptime 24/7 power and network stability
Security DDoS protection, firewall rules
You also need to port forward the game and RCON ports (default: 28015 and 28016).
---
🎮 Why Use Containers?
Running a Rust server in a container has several benefits:
✅ Isolation: Cleanly separated from your host OS
🔄 Portability: Easily move to another machine or cloud server
🧪 Testing: Perfect for short-term events or experiments
🚀 Fast Deployment: One command and you're live
GamingServers.xyz uses container-based setups to ensure fast provisioning, scalable hosting, and predictable performance for all our public game server offerings.
---
🕹️ Want It Done for You?
Setting up a Rust server is rewarding, but it also takes time. At GamingServers, we offer pre-configured Rust servers, hosted on fast European infrastructure, with:
Instant setup in containers
Monthly or hourly billing (great for events!)
Rust+, modding, and backup support
Charity-aligned profits, we donate 10% of our yearly profit
---
🧠 Final Thoughts
Whether you're throwing a LAN party or building a public Rust community, running your own server in a container gives you total control — and zero lock-in.
And if you want performance without the headache, let us handle it for you.

Comments