Sign inSign up

garrettheath4/tekkit-minecraft

By garrettheath4

Updated about 6 years ago

New Tekkit 1.2.9i Docker container

Image
0

484

garrettheath4/tekkit-minecraft repository overview

tekkit-minecraft-docker

Docker Build

Tekkit Classic v1.2.9i Docker container. This project was forked from and based on LGDan/tekkit-classic-docker on GitHub.

Build

To build the container:

  1. Install git for your distro if you haven't already.
  2. Run git clone https://github.com/garrettheath4/tekkit-minecraft-docker.git
  3. Ensure you have Docker set up right so you can use it without sudo or root (not really necessary; just a preference)
  4. Run docker build --tag tekkit-minecraft:latest tekkit-minecraft-docker

Run

To just get it up and running, replace <YOUR_MINECRAFT_ACCOUNT_NAME> with your Minecraft player name, and run the command:

docker run --detach \
    -p 25565:25565 \
    -e SERVER_OP=<YOUR_MINECRAFT_ACCOUNT_NAME> \
    --name=tekkit-server \
    --restart=unless-stopped \
    tekkit-minecraft:latest

By default, it does store its data in a volume so it's safe to rebuild the container if you need to, and re-attach the previous volume to /minecraft.

Replace /VOLUMES/ with the path to your volumes storage location.

docker run --detach \
    -v /VOLUMES/minecraft:/minecraft \
    -p 25565:25565 \
    -e SERVER_OP=<YOUR_MINECRAFT_ACCOUNT_NAME> \
    --name=tekkit-server \
    --restart=unless-stopped \
    tekkit-minecraft:latest
Debug

To run the tekkit-server Docker container interactively, use the -it argument instead of -d in the docker run ... command above.

To attach to a running tekkit-server Docker container, run:

docker exec -it tekkit-server /bin/bash

Tag summary

Content type

Image

Digest

Size

207.8 MB

Last updated

about 6 years ago

docker pull garrettheath4/tekkit-minecraft