Edit docker /etc/hosts
kgoedert
Posted on October 31, 2019
If you ever need to edit the /etc/hosts of your docker container, using the docker compose, you can use the extra_hosts.
wildfly:
build: wildfly
ports:
- "8080:8080"
- "8787:8787"
extra_hosts:
- "first:162.0.1.5"
- "secondhost:1.1.1.1"
π πͺ π
π©
kgoedert
Posted on October 31, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
authorization How to Set Up Authorization in a Bookstore Management System with Go, HTMX, and Permit.io
November 29, 2024