Skip to content

Commit 0ac53a4

Browse files
committed
feat: run docker inspect on host with sudo
1 parent 571b8ee commit 0ac53a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev.linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ echo "Perform post installation tasks..."
5454
sudo docker exec swiftwave_dev_env bash -c "cd /app && ./dev/start.sh" | tee -a dev.log
5555
echo "Post installation tasks completed"
5656
# Print IP
57-
ip=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $container_id)
57+
ip=$(sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $container_id)
5858
echo -e "\n\n${GREEN}Swiftwave dev environment is started successfully${NC}"
5959
echo -e "Follow the steps below to start the server"
6060
echo -e "---------------------------------------------------------"

0 commit comments

Comments
 (0)