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

Fix issue with launching visualizer, atleast on OSX #3

Open
wants to merge 2 commits 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
2 changes: 1 addition & 1 deletion miniswarm
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ deploy_swarm_visualizer() {
if [[ $(docker ps -qa -f 'Status=exited' -f Name='swarm_visualizer') ]]; then
docker rm -vf swarm_visualizer > /dev/null
fi
docker run -it -d --name swarm_visualizer -p 5000:5000 -e HOST="$manager_ip" -e PORT=5000 -v /var/run/docker.sock:/var/run/docker.sock manomarks/visualizer
docker run -it -d --name swarm_visualizer -p 5000:8080 -e HOST="$manager_ip" -v /var/run/docker.sock:/var/run/docker.sock manomarks/visualizer
)
# Wait for it to come up
wait_for_command "curl -s http://${manager_ip}:5000 -o /dev/null"
Expand Down