Skip to content

mikygit/docker-minecraft-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-minecraft-client

This project aims to provide a minecraft client running in docker containers, even for users behind a firewall ...

It's based on docker image Oracle Java 8 (and 7) with GLIBC 2.23 over AlpineLinux

BUILDING

docker build [--build-arg PROXY_URL=$YOUR_PROXY_URL] -t minecraft-client .

RUNNING

Next is a sample run command:

docker run -d --net host \
   -v /tmp/.X11-unix:/tmp/.X11-unix \
   -v /dev/shm:/dev/shm \
   -v $HOST_MINECRAFT_ROOT:/root/.minecraft \
   --device /dev/dri \
   --device /dev/snd \
   -e DISPLAY=$HOST_IP:0.0 \
   --name minecraft minecraft-client \
   proxychains -f proxychains.conf java -Dhttp.proxyHost=$YOUR_PROXY_HOST -Dhttp.proxyPort=$YOUR_PROXY_PORT -Dhttps.proxyHost=$YOUR_PROXY_HOST -Dhttps.proxyPort=$YOUR_PROXY_PORT -jar Minecraft.jar

At the moment, it is not working as expected especially if you are behind a firewall.

Working on it ...

NOTES

  • if using proxychains, you have to modify proxychains.confsdfg accordingly

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages