Sign inSign up

mercxry/mindustry

By mercxry

•Updated about 4 years ago

Mindustry game image

Image
0

369

mercxry/mindustry repository overview

Docker Image Size (stable) Docker Image Size (latest)

Mindustry logo

Mindustry is a hybrid tower-defense sandbox factory game. Create elaborate supply chains of conveyor belts to feed ammo into your turrets, produce materials to use for building, and defend your structures from waves of enemies.

⁠Usage

⁠Docker cli
docker run -it -d \
  --name mindustry \
  -p 6567:6567/tcp -p 6567:6567/udp \
  -v /path/to/config:/mindustry/config \
  --restart unless-stopped \
  mercxry/mindustry:stable
---
version: "3.8"
services:
  mindustry:
    image: mercxry/mindustry:stable
    container_name: mindustry
    stdin_open: true
    tty: true
    volumes:
      - /path/to/config:/config
    ports:
      - 6567:6567/tcp
      - 6567:6567/udp
    restart: unless-stopped
⁠Connect to console

Attaching to the console is useful to run commands like host that will start hosting a game, you won't be able to see previous logs this way as you will be greeted with an empty screen, but you can run commands there.

docker attach mindustry

⁠Configuration

Configuration for the server can be modified by using commands in the console, the full list of available commands can be found in the official docs⁠.

⁠Auto host

To automatically run the command host when starting the server, just run:

config startCommands host

The server will host a game the next time you start the container (as long as you keep the same settings.bin file).

⁠Tagging

There are two types of container tags used on this image: latest and stable; these are in addition to the specific version of the server which can always be picked instead and are recommended.

In case specific versions are too granular for you, I would recommend to use stable instead of latest if you are looking for the latest stable version of the image, which will likely run the same version of the game client that you start from Steam.

The latest tag instead runs the latest pre-release version that you can find on the Github releases page⁠ of the game, run this version of the image only if you are sure that you're using the latest pre-release game client.

Tag summary

Content type

Image

Digest

sha256:efc2097c7…

Size

71.5 MB

Last updated

about 4 years ago

docker pull mercxry/mindustry