Comment

Comment by general_failure

Is your intention to expose the ports of a docker container? If you want to do this search for "expose" ports. The docker run option is -p and -P for this.

Or to create a subnet with custom IP for the docker daemon's bridge network? Use -b option to docker daemon.

https://docs.docker.com/engine/userguide/networking/ is a good place to start. If you have a specific question, feel free to ask and I can try to answer.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton