-
Notifications
You must be signed in to change notification settings - Fork 301
Docker Deployment
ElJeffe edited this page Aug 2, 2022
·
13 revisions
RootTheBox comes included with an easy to use docker-compose configuration intended for development use.
This assumes you have Git, Docker and docker-compose installed.
- Clone the Github repo,
git clone https://github.com/moloch--/RootTheBox.git
- Switch into the repo directory,
cd RootTheBox
To check your version -
- Switch into the repo directory,
cd RootTheBox
git log -1 --oneline
Check your version against the latest located at https://github.com/moloch--/RootTheBox/tree/master
Look for the line that says "Latest commit "number" "
Update your container
- Switch into the repo directory,
cd RootTheBox
-
git stash
(stashes any local changes) git pull
docker-compose build
Note: If running Windows, you may need to share your drive for the Linux container under docker application settings.
docker-compose up
or if using v2
docker compose up
Site: http://localhost:8888
Login: admin
Password: rootthebox
Adding "--debug"
as an ENTRYPOINT
argument in the Dockerfile
will enable debugging / stack trace in the console. For more information on debug options, see debugging