Docker modifies the port of the running container

docker ps see id prefix

Then docker stop the container id you want to change

find / -name config.v2.json modify the HostPort inside to the port required on the host

find / -name hostconfig.json modify the HostPort inside to the port required on the host

service docker restart

Guess you like

Origin blog.csdn.net/ccagy/article/details/111247341