docker / dockercraft

Docker + Minecraft = Dockercraft
Apache License 2.0
7.21k stars 391 forks source link

docker minecraft launcher #88

Closed willzhang closed 1 year ago

willzhang commented 5 years ago

i'm finding a minecraft launcher for docker, anyone have idea? i just want Hang up all the time , i just run a docker container for ubuntu, and then instlal Minecraft.deb, is there any other way?

JBYoshi commented 5 years ago

If you want a Minecraft server, there are a bunch of options on https://hub.docker.com. If you want a client, you’ll probably have to write it yourself - most people only use Docker for server applications.

willzhang commented 5 years ago

i use this way

docker run -d --restart always --name mclaunch -p 6080:80 -p 5900:5900 dorowu/ubuntu-desktop-lxde-vnc

then install minecraft launcher in container

官方下载地址
https://www.minecraft.net/zh-hans/download/alternative
ubuntu直接下载
安装参考
https://linuxconfig.org/how-to-install-minecraft-on-ubuntu-18-04-bionic-beaver-linux
curl -O https://launcher.mojang.com/download/Minecraft.deb
apt-get update && apt-get -f -y install
apt install gdebi-core && gdebi Minecraft.deb
或dpkg -i Minecraft.deb
guillaume130679 commented 3 years ago

Current version of JAVA Edition is 1.16 ... the versions supported by dockercraft are quite old.... Any chance that v 1.16.x is getting supported soon? Thanks!

lukeawyatt commented 1 year ago

I know this is old, but I have a working client-on-docker utilizing TLauncher - docker-tlauncher