Centos7 running docker, daemon port every time you restart the docker will change, how to set a fixed port?

2015-08-27 add comment share it

  • Weibo
  • Micro letter

Did not find the relevant results



    We agreed from:

    Docker daemon port will not change ah.
    In /lib/systemd/system/docker.service can docker daemon parameters to write dead.
    Docker.service is ini format of the configuration file in the [Service] Lane ExecStart = / usr / bin / docker daemon-H This, docker daemon port is 2375.

    Heads up! This alert needs your attention, but it's not super important.