From 353e0ee33e4c92938f6d5b2182b29309652bbebf Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 1 May 2022 18:43:24 +0000 Subject: [PATCH] Update 'MagicBox : Magicbane in a Box' --- MagicBox-%3A-Magicbane-in-a-Box.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MagicBox-%3A-Magicbane-in-a-Box.md b/MagicBox-%3A-Magicbane-in-a-Box.md index bf33511..ad2938a 100644 --- a/MagicBox-%3A-Magicbane-in-a-Box.md +++ b/MagicBox-%3A-Magicbane-in-a-Box.md @@ -26,15 +26,15 @@ Docker is available for most all operating systems. Along with a Docker Hub acc - Sign into Docker Hub -`docker login` +```docker login ``` Pull the image -```console docker pull magicbane/magicbox ``` +```docker pull magicbane/magicbox ``` ### Starting MagicBox -```console docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:/home/mbbox/magicbane/mb.conf magicbane/magicbox:latest & ``` +```docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:/home/mbbox/magicbane/mb.conf magicbane/magicbox:latest & ``` >It is recommended that you change the external port via the docker run command not within the [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) configuration file. Docker will automatically route ip traffic through the bridge to the correct interal port. MagicBox uses three ports. 5000 is used for a debugger or profiler. 6000 is used for the login server. 8000 is used for the world server. If behind a NAT/router the user must open these ports on his router or configure a DMZ. @@ -74,6 +74,6 @@ When the time comes whether through Discord or Forum registration we have the ba Once MagicBox is running the following will grant you shell access. -```console docker exec -it magicbox /bin/bash``` +```docker exec -it magicbox /bin/bash``` >MagicBox currently runs with an internal UID/GID of 1000/1000. Better integration occurs if the user running the container has 1000/1000 as well. Otherise the running container might not have write access to the mb.conf mount or possibly could display as an incorrect user in top. \ No newline at end of file