Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting rid of host network #643

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/update_version_mainnet_7_1_8_rpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ binary_upgrade(){
GROUP_ID=$(id -g)

if ! docker run --name "supra_rpc_mainnet_$ip_address" \
-p 30000:30000 \
-v $HOST_SUPRA_HOME:/supra/configs \
--user "$USER_ID:$GROUP_ID" \
-e "SUPRA_HOME=/supra/configs" \
-e "SUPRA_LOG_DIR=/supra/configs/rpc_node_logs" \
-e "SUPRA_MAX_LOG_FILE_SIZE=400000000" \
-e "SUPRA_MAX_UNCOMPRESSED_LOGS=5" \
-e "SUPRA_MAX_LOG_FILES=20" \
--net=host \
-itd $NEW_RPC_IMAGE_NAME; then
echo "Failed to run new RPC Node container $NEW_RPC_IMAGE_NAME image. Exiting..."
exit 1
Expand Down Expand Up @@ -228,4 +228,4 @@ while true; do
;;
esac
echo ""
done
done