Skip to content

Commit 8939fb8

Browse files
Add README.md file
README file so everyone knows how to use the containers. Signed-off-by: Cosmin Tanasa <tanasa.cosminandrei@gmail.com>
1 parent f893418 commit 8939fb8

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

  • chapters/mitigations-and-defensive-strategies/defense-mechanisms/activities/03-rwslotmachine3/deploy
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#Build, Run and Stop the container
2+
3+
- Build docker images for build and runtime stages:
4+
5+
```bash
6+
make create_build
7+
make create_runtime
8+
```
9+
10+
- Run the containers:
11+
12+
```bash
13+
make run_build
14+
make run_runtime
15+
```
16+
17+
- Stop the containers:
18+
19+
```bash
20+
make stop_build
21+
make stop_runtime
22+
```
23+
24+
- Clean
25+
26+
```bash
27+
make clean_all
28+
```
29+
30+
#Use the container and the executable
31+
32+
Build and run the runtime container and
33+
from host run:
34+
35+
```bash
36+
nc 127.0.0.1 32001
37+
```

0 commit comments

Comments
 (0)