Skip to content
jeremytourville edited this page Jan 28, 2020 · 13 revisions

RootTheBox comes included with an easy to use docker-compose configuration intended for development use.

Preliminary

This assumes you have Git, Docker and docker-compose installed.

Clone RootTheBox

  1. Clone the Github repo, git clone git://github.com/moloch--/RootTheBox.git
  2. Switch into the repo directory, cd RootTheBox

Update the container (if needed)

To check your version -

  1. Switch into the repo directory, cd RootTheBox
  2. 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 "

Update your container

  1. Switch into the repo directory, cd RootTheBox
  2. git stash
  3. git checkout -- Dockerfile
  4. git reset --hard
  5. git pull
  6. docker-compose build

Run RootTheBox

Note: If running Windows, you may need to share your drive for the Linux container under docker application settings.

docker-compose up

Site: http://localhost:8888

Login: admin Password: rootthebox

Debugging

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

Clone this wiki locally