MacOS: Docker doesn't expose ports

已回答

Hi,

I'm using 2020.3 and trying to run a docker image.  I understand there are issues with the way that Docker works on macOS, but I had some success using the following command in iTerm (or indeed terminal)

docker run -p 8080:8080 mydockerimage

 

I've attempted several different ways of setting this in IntelliJ, including:

 

 

Every way I attempt, including using Bind Ports in all combinations, doesn't work.

 

Is there a trick to getting this to work?  Am I missing something?

 

Thanks!

0

Scratch that - for some reason this now works

0

请先登录再写评论。