Having no -p in the run command sets every port to 80 where you quite likely already have a local Apache or something else listening at. So I can't access the site created with this setup in my browser. Would it be a big deal to have the possibility to add custom ports like 8080:80 or something like that in a convenient way through one variable?
Apart from that I'm trying to figure out where I actually need to set the custom port manually... Do I have to add like -p 8080:80 to every run command? Any help appreciated.
Having no
-pin theruncommand sets every port to 80 where you quite likely already have a local Apache or something else listening at. So I can't access the site created with this setup in my browser. Would it be a big deal to have the possibility to add custom ports like8080:80or something like that in a convenient way through one variable?Apart from that I'm trying to figure out where I actually need to set the custom port manually... Do I have to add like
-p 8080:80to everyruncommand? Any help appreciated.