Off the IP, typing miner::mc_connect(), and "localhost" will be And I tried docker ps to get a list of containers, and docker inspect | grep IPAddress but the IP address I foundĭidn’t work either.] What ultimately worked for me was just to use [But I wasn’t able to get docker-machine to With miner::mc_connect() within R, you need to have an IP addressįor the docker instance. To connect to the minecraft server from your minecraft game client, or Run the docker container: sudo docker run -ti -rm -p 4711:4711 -p 25565:25565 minecraft Then build the docker container: sudo docker build -t minecraft. R -e "system.file('Dockerfile', package = 'miner')" Open a terminal and change to the miner package directory, which contains The rest follows the Docker instructions (below), the I needed to use “advanced” and then drag the memory slider to 4.0 GB. (See this stackoverflowĬlick on the whale in the menu bar, select “preferences” and We found that we needed to change the preferences to give the dockerĬontainer more memory. Password and will then ask you to log in with your docker account and Then drag Docker.app to your Applications folder. The download will give a Docker.dmg file which you double-click and You will need to sign up for a free account in order to download Install Docker CE (community edition) for You can also install Docker and create a Minecraft server within a
0 Comments
Leave a Reply. |