Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilolm authored Aug 21, 2024
1 parent 1db75c4 commit eaae1b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sudo docker image pull ilolm/docker-ctf
Then, run the Docker container with the following commands:

```bash
sudo docker container run -itd --rm --privileged --hostname ctf --name docker-ctf -p 8080:8080 -p 22:22 -p 23:23 -p 3306:3306 ilolm/docker-ctf
sudo docker container run -itd --rm --privileged --hostname docker-ctf --name docker-ctf -p 8080:8080 -p 22:22 -p 23:23 -p 3306:3306 ilolm/docker-ctf
sudo docker container exec -it docker-ctf docker compose -f /home/king/docker-web/docker-compose.yaml up -d
```

Expand All @@ -52,7 +52,7 @@ If you prefer to build the Docker image yourself, follow these steps:
3. Run the Docker container:

```bash
sudo docker container run -itd --rm --privileged --hostname ctf --name docker-ctf -p 8080:8080 -p 22:22 -p 23:23 -p 3306:3306 ctf
sudo docker container run -itd --rm --privileged --hostname docker-ctf --name docker-ctf -p 8080:8080 -p 22:22 -p 23:23 -p 3306:3306 ctf
```

4. Start the internal Docker Compose services:
Expand Down

0 comments on commit eaae1b3

Please sign in to comment.