diff --git a/README.md b/README.md index 639b140..9261d2e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ You have to go through different levels, using ssh. For each level, you have to find the password for the next level. Each level's user is named level1, level2, level3, etc. -## DEPLOIEMENT +## DEPLOYEMENT - Build the image: ```bash @@ -15,9 +15,18 @@ docker build -t enter-bash:1.0 . - Start the container: ```bash -docker run -d -p 5555:22 enter-bash:1.0 +docker run -d --name enter-bash -p 5555:22 enter-bash:1.0 ``` Note: The port 5555 is the docker's host port mapped to the ssh port of the container (22), you can choose a port to your liking. +## UTILISATION + +- Connect to the game container: +```bash +ssh -p 5555 level1@127.0.0.1 +``` + +- Password: knj-yhn-576 +