docker-for-local-development icon indicating copy to clipboard operation
docker-for-local-development copied to clipboard

Simple way to map localhost:8080 to a custom hostname?

Open gkimpson opened this issue 6 years ago • 0 comments

I am using this and it generally works well! However rather than use http://localhost:8080 to access the container in the browser i'd like to use a custom hostname e.g docker.backend - how is the best way to achieve this? I have tried modifying the nginx/default.conf file to include the server_name but have had no luck with this :(

gkimpson avatar Sep 05 '18 14:09 gkimpson