Remap Ports

Notes

-p 8000:8000

The above ports are mapped 1:1 and will work but if you have multiple containers fighting for ports it can get messy

  • The first number is the one to change

  • the second number is the container number keep that default

Above means that the user will be able to access the box on :8003 and the container is mapping its internal :8000 to the users :8003

Last updated