- Notifications
You must be signed in to change notification settings - Fork0
sgnl05/docker-altitude
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A nice and easy way to get an Altitude server up and running using Docker. Forhelp on getting started with Docker see theofficial getting started guide.For more information on Altitude and check out itswebsite.
Running this will build you a docker image with the latest version of docker-altitude..
git clone https://github.com/sgnl05/docker-altitudecd docker-altitudedocker build -t sgnl05/altitude.
Running the first time will set your ports to static ports of your choice sothat you can easily map a proxy to them. If this is the only thing running on yoursystem you can map the udp port range to 27275-27276 and no proxy is needed. i.e.-p=27275-27276:27275-27276/udp
. Server config will be downloaded from the serverconfigs folder. File name is based on what hostname you choose with the-h
flag.
docker run --name=altitude -h=altitude01 -p=27275-27276:27275-27276/udp sgnl05/altitude
From now on when you start/stop docker-altitude you should use the container namewith the following commands. If you havent specified a name then Docker will generate one for you. To get your container name, after you initial run typesudo docker ps
and it will show up on the right side side.
docker start<NAME>docker stop<NAME>
--name
is the container name. Set this to whatever single word you want.-h
is the hostname of your choice. The hostname is used for pulling the server config.sgnl05/altitude
is simply what I called my docker build of this image.-p
is the port(s) it connects to,-p=host_port:docker_port
. Use "-" to define a range.
Code is based ondocker-minecraft by Isaac Bythewood.