Here you can find a docker-compose
file to start all the required services and applications we are going to use throughout the Network Security course and its laboratory exercises.
Before cloning the repository and setting up the services, make sure you have the following tools installed:
git clone https://github.com/RicYaben/DTUNetSec.git
Make sure that docker
is running.
Then, compose up the containers from the root directory of the project.
docker compose up --build -d
NOTE: If you are using a Macbook, you may need to use the following command instead:
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose up --build -d
To check the health of your containers, do:
# Lists the running containers
docker ps
# See the logs of the specified container
docker logs <container-name>
For the kali environment, open https://localhost:6901/
in the browser of your choice, and continue with credentials:
User: kasm_user
Password: password
For later labs, to use bloodhound
, you have to start the neo4j
service:
sudo neo4j start
For additional docker commands check out the cheatsheet.