Skip to content

Commit 351e88d

Browse files
authored
Merge pull request #398 from stratosphereips/ondra-fix-docker-documentation
Ondra fix docker documentation
2 parents 9e58c3f + 2fd8e48 commit 351e88d

File tree

5 files changed

+23
-48
lines changed

5 files changed

+23
-48
lines changed

.dockerignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@
55
.pytest_cache
66
.ruff_cache
77
.vscode
8+
dist/
89
docs/
10+
examples/
911
figures/
12+
logs/
1013
mlruns/
14+
notebooks/
15+
NetSecGameAgents/
1116
tests/
1217
trajectories/
13-
NetSecGameAgents/
14-
notebooks/
1518
readme_images/
1619
tests/
1720
*trajectories*.json
18-
README.md
21+
README.md
22+
mkdocs.yml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ When running in the Docker container, the NetSecGame can be started with:
120120
docker run -it --rm \
121121
-v $(pwd)/examples/example_task_configuration.yaml:/aidojo/netsecenv_conf.yaml \
122122
-v $(pwd)/logs:/aidojo/logs \
123-
-p 9000:9000 stratosphereips/netsecgame:lastest
123+
-p 9000:9000 stratosphereips/netsecgame
124124
```
125125
optionally, you can set the logging level with `--debug_level=["DEBUG", "INFO", "WARNING", "CRITICAL"]` (defaul=`"INFO"`):
126126

127127
```bash
128128
docker run -it --rm \
129129
-v $(pwd)/examples/example_task_configuration.yaml:/aidojo/netsecenv_conf.yaml \
130130
-v $(pwd)/logs:/aidojo/logs \
131-
-p 9000:9000 aidojo-local-test:latest \
131+
-p 9000:9000 stratosphereips/netsecgame \
132132
--debug_level="WARNING"
133133
```
134134

docs/index.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ conda create --name aidojo python==3.12.10
2323
```bash
2424
conda activate aidojo
2525
```
26-
2726
After the virtual environment is activated, install using pip:
2827
```bash
2928
pip install -e .
@@ -33,9 +32,9 @@ The NetSecGame can be run in a Docker container. You can build the image locally
3332
```bash
3433
docker build -t aidojo-nsg-coordinator:latest .
3534
```
36-
or use the availabe image from [Dockerhub](https://hub.docker.com/r/lukasond/aidojo-coordinator).
35+
or use the available image from [Dockerhub](https://hub.docker.com/r/stratosphereips/netsecgame).
3736
```bash
38-
docker pull lukasond/aidojo-coordinator:1.0.2
37+
docker pull stratosphereips/netsecgame
3938
```
4039
## Quick Start
4140
A task configuration needs to be specified to start the NetSecGame (see [Configuration](configuration.md)). For the first step, the example task configuration is recommended:
@@ -112,9 +111,18 @@ Upon which the game server is created on `localhost:9000` to which the agents ca
112111
When running in the Docker container, the NetSecGame can be started with:
113112
```bash
114113
docker run -it --rm \
115-
-v $(pwd)/examples/example_config.yaml:/aidojo/netsecenv_conf.yaml \
114+
-v $(pwd)/examples/example_task_configuration.yaml:/aidojo/netsecenv_conf.yaml \
116115
-v $(pwd)/logs:/aidojo/logs \
117-
-p 9000:9000 lukasond/aidojo-coordinator:1.0.2
116+
-p 9000:9000 stratosphereips/netsecgame
117+
```
118+
optionally, you can set the logging level with `--debug_level=["DEBUG", "INFO", "WARNING", "CRITICAL"]` (defaul=`"INFO"`):
119+
120+
```bash
121+
docker run -it --rm \
122+
-v $(pwd)/examples/example_task_configuration.yaml:/aidojo/netsecenv_conf.yaml \
123+
-v $(pwd)/logs:/aidojo/logs \
124+
-p 9000:9000 stratosphereips/netsecgame \
125+
--debug_level="WARNING"
118126
```
119127

120128
## Documentation

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies = [
4343
"tenacity==8.5.0",
4444
"typing-inspect==0.9.0",
4545
"typing_extensions==4.12.2",
46-
"cyst-core @ git+https://github.com/AI-Dojo-Public/cyst-core.git@master"
46+
"cyst-core>=0.5.0"
4747
]
4848
requires-python = ">=3.12"
4949

requirements.txt

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)