Skip to content

Commit 7cbeb7c

Browse files
authored
don't forget to build the image first
1 parent 244f98e commit 7cbeb7c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Docker/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ cd Autosploit/Docker
99
# nano database.yml
1010
docker network create -d bridge haknet
1111
docker run --network haknet --name msfdb -e POSTGRES_PASSWORD=s3cr3t -d postgres
12-
docker run -it -p 80:80 -p 443:443 -p 4444:4444 autosploit
12+
docker build -t autosploit .
13+
docker run -it --network haknet -p 80:80 -p 443:443 -p 4444:4444 autosploit
1314
```
1415

1516

@@ -58,5 +59,6 @@ Building will be faster if done on a hosted server as it benefits from the -grad
5859
git clone https://github.com/NullArray/AutoSploit.git
5960
cd Autosploit/Docker
6061
nano database.yml # Exemple configuration should work fine
61-
docker run -it -p 80:80 -p 443:443 -p 4444:4444 autosploit
62-
```
62+
docker build -t autosploit .
63+
docker run -it --network haknet -p 80:80 -p 443:443 -p 4444:4444 autosploit
64+
```

0 commit comments

Comments
 (0)