Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/tools/docker/run-core-server.sh
1028 views
1
#!/bin/bash
2
3
current_path=$(dirname $0)
4
port=45707
5
6
## example of running core server
7
docker run -it --rm --ipc=host --user sagent \
8
--security-opt seccomp="$current_path/seccomp_profile.json" \
9
-p "$port:$port" \
10
-e DEBUG=1 \
11
secret-agent node core/start "{\"coreServerPort\":$port}"
12
13