Skip to content

Commit

Permalink
fix: install add --privileged
Browse files Browse the repository at this point in the history
  • Loading branch information
tiamo committed Sep 19, 2023
1 parent d8f091f commit 37f91db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ do_install() {
IP_ADDR=$(hostname -I | cut -f1 -d' ')

say "Starting docker container..."
CONTAINER_ID="$(docker run -d -it --restart=always --name $CONTAINER_NAME \
CONTAINER_ID="$(docker run -d -it --privileged --restart=always --name $CONTAINER_NAME \
--hostname $CONTAINER_NAME \
--log-opt max-size=10m \
--log-opt max-file=5 \
Expand All @@ -97,10 +97,12 @@ do_install() {
say "SVT-Agent successfully installed!"
say "Please add some balance to the agent address."
say ""
say "Host IP: $IP_ADDR"
say "Cluster: $CLUSTER"
say "Channel: $CID"
say "Agent Address: $PUBKEY"
say "Agent Release: $AGENT_RELEASE"
say "Host IP: $IP_ADDR"
say "Agent Home: $WORKING_DIR"
say ""
say "Done"
}
Expand Down

0 comments on commit 37f91db

Please sign in to comment.