ModsFinder

Docker Companion

by hellozyemlya

Docker Companion lets a dedicated server started in a Docker container read its settings and operator list from environment variables and shut down cleanly when the container stops.

FabricNeoForgeServer-side onlyMIT License1.21.1

What it does

The mod is built for dedicated servers that run inside Docker. Instead of writing server properties and operator entries by hand, an administrator passes them through environment variables, and the mod applies them when the server starts. Players listed in the operator variable receive operator status automatically, which keeps container setups fully configured from the start.

Docker Companion also handles process signals so that a stop request from the container runtime shuts the server down gracefully rather than killing it. The author notes that the container entrypoint must run the java binary directly, using exec, so that signals reach the server process. The mod supports isolated server setups built without bloated third-party images, which suits operators who prefer a minimal stack. It runs on the server only, so players join without installing anything, and it is published for Fabric and NeoForge for 1.21.1.

Key features

  1. Server properties from environment variables

    Values set in the server properties variable are written into the server configuration when it starts.

  2. Automatic operators

    Players named in the operators variable are granted operator status, so no console commands are needed after deployment.

  3. Graceful shutdown

    Process signals from the container are handled so the server saves and stops cleanly instead of being killed.

  4. Minimal container images

    The mod is intended for isolated dedicated server images that do not need extra third-party software.

Compatibility

Latest build for each game version and loader.

1.21.11.1.11.1.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Server owners and administrators who run Minecraft dedicated servers in Docker containers and want configuration and shutdown handled through the container.

How it compares

Full comparison

Shutdown Scheduler is a Fabric and NeoForge mod for 1.21.1 that is server-side only, but its license is All rights reserved and it is not open source. empty server shutdown is a Fabric mod for 1.21.10 with the MIT License, and it is open source. ServerPulse is an open source Fabric mod under the GNU Lesser General Public License v3.0 only, built for 1.21.4 – 1.21.10. Docker Companion is released under the MIT License but is not open source.

ModLoadersGame versionsEnvironmentUpdated
Docker CompanionFabric and NeoForge1.21.1Server-side only2026-01-08
Shutdown SchedulerFabric and NeoForge1.21.1Server-side only2026-07-04
empty server shutdownFabric1.21.10Server-side only2025-11-27
ServerPulseFabric1.21.4 – 1.21.10Server-side only2025-12-26

Questions

Does Docker Companion need to be installed on player clients?

No. Server owners install it, and players connect with no copy of their own.

Which loaders does Docker Companion support?

The mod is published for Fabric and NeoForge. Both files target 1.21.1, the only game version listed.

Why must the container entrypoint use exec?

The author notes that the entrypoint must run the java binary with exec so that stop signals reach the server process and it can shut down gracefully.

In the catalog

Docker Companion is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from hellozyemlya

All projects

Similar mods

What the author says

This mod makes dedicated server more friendly for docker usecases, allowing easily create isolated server setup within seconds without using bloated third-party images and pieces of software. It can: - apply server properties from SERVER_PROPERTIES env varibale - auto-op players from SERVER_OPERATORS env varibale …
hellozyemlya, on the Modrinth page

Official listing

Owner
hellozyemlya
Published
2026-01-07
Updated on Modrinth
2026-01-08
Facts verified
2026-10-15

Tags