How would go about the swarm implementation? I've tried it with azure container services (swarm orchestratation), but I couldn't get it to work. I used this guide to setup the swarm with the slight modification of having
ssh -L 2375:localhost:2375 -L 3838:localhost:3838 -fN <user>@<dns>.azure.com -p 2200
ssh -L 2375:localhost:2375 -f -N <user>@<dns>.azure.com -p 2200
and had the java application running on my mac (so no port forwarding needed for 8080). I used
as the docker startup option since both of these
DOCKER_OPTS="-H tcp://172.16.0.5:2375 -H unix://"
DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix://"
did not allow the swarm container to start (check
docker ps on the swarm agent vm before and after changing the /etc/default/docker file and restaring docker). This approach did start the shinyproxy-demo container on the swarm, but I got this error
Failed to start container: Request error: POST http://localhost:2375/containers/create: 500
on the client side. It could be that the java application needs to be running on the swarm agent vm? Any suggestions are welcome.