Im trying to expose my plumber server over Docker. I'm getting a log from plumber in RStudio that it's listening on my desired port. And swagger launches and runs fine (the API works ok via swagger in my browser connecting over the exposed port for Rstudio of 8787).
i'm running this command as:
docker run -e PASSWORD=rstudio --rm -it -p 8787:8787 -p 3038:3038 -v "/Users/my_name/Google Drive/r_files":"/home/rstudio/r-docker-tutorial" rocker/verse
if i do:
I get 'Empty reply from server'
Likewise if i attempt to hit my endpoint in Postman i get 'Could not get any response'
So it appears that the port isn't being successfully proxied by Docker, but i'm a bit stuck as this doesn't make much sense!
Does anyone have any ideas?
Thanks
Dan