-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
As I am using IPVLAN Layer 3 in my docker setup, every microservice gets its own ip address. Therefore I don't need different ports. And docker doesn't support port rebinding in an ipvlan L3. So I want to change the given port 5000 to 80, so I dont have the local dns record of 192.168.10.5:5000 to snip.homelab:5000. Let me change it to 192.168.10.5:80 therefore just http://snip.box please
When I run the docker run command
docker run -d --network=home_lab --ip=192.168.10.5 --name=snippetbox --restart=always -v ~/docker/config:/config pawelmak/snippet-box:latest
it binds it to the port 5000, even I put --bind :80
or -p 80:80
to the command. How do I use it without port 5000
Metadata
Metadata
Assignees
Labels
No labels