Skip to content

Commit 261916e

Browse files
cosmintanasa47razvand
authored andcommitted
03-rwslotmachine: Add README.md file
README file so everyone knows how to use the containers. Resolves: #50 Signed-off-by: Cosmin Tanasa <tanasa.cosminandrei@gmail.com>
1 parent 9889f12 commit 261916e

File tree

1 file changed

+36
-0
lines changed
  • chapters/mitigations-and-defensive-strategies/defense-mechanisms/activities/03-rwslotmachine3/deploy

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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 from host run:
33+
34+
```bash
35+
nc 127.0.0.1 32001
36+
```

0 commit comments

Comments
 (0)