-
Notifications
You must be signed in to change notification settings - Fork 301
Docker Deployment
jeremytourville edited this page Jan 28, 2020
·
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 git://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 "
Update your container
- Switch into the repo directory,
cd RootTheBox
git stash
git checkout -- Dockerfile
git reset --hard
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
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