rinex20 / ntripcaster_docker

12 stars 4 forks source link

about the port #5

Open bruceOrange22 opened 1 year ago

bruceOrange22 commented 1 year ago

if I specified the port in ntripcaster.conf as 30000 and ,when running the docker run command like this:

$ docker run -d -p 30000:30000--name ntripcaster --restart=always -v /etc/ntripcaster:/etc/ntripcaster rinex20/ntripcaster

when docker running,i will get two ports:

2101/tcp, 0.0.0.0:30000->30000/tcp, :::30000->30000/tcp

is there fixed port in docker image?Could I make it only 30000 available? thanks!

rinex20 commented 1 year ago

modify your internal service port in ntripcaster.conf or change to port mapping to "-p 30000:2101"