You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ docker build -t python-ese .
67
67
Once the Docker image is built, you can run a Docker container using the following command:
68
68
69
69
```bash
70
-
docker run -d --network host --mount type=bind,source=[your/path/to/config],target=/app/config python-ese
70
+
docker run -d --network host --mount type=bind,source=[your/path/to/config],target=/app/config python-ese --privileged=true
71
71
```
72
72
73
73
The `--network host` option in the docker run command tells Docker to use the host network for the container. This means the container shares the same network stack as the host and can access network services running on the host directly.
@@ -77,7 +77,9 @@ In this case we use mounts to provide the configuration file to the container.
77
77
78
78
The configuration file is a JSON file that contains the configuration of PythonESE. It must be placed in a directory on the host and the _full_ path to this directory must be specified in the source option of the --mount option. The JSON schema needs also to be in the same directory.
79
79
80
-
For examples on how to create or modify the configuration file refer to the next section. If no configuration file is provided the default configuration will be used.
80
+
For examples on how to create or modify the configuration file refer to the ne xt section. If no configuration file is provided the default configuration will be used.
81
+
82
+
The `--privileged=true` option is used to give the container full access to the host system. This is necessary to run the logic solvers like Clingo in a safe environment using [Bubblewrap](https://github.com/containers/bubblewrap).
0 commit comments