Docker machine timeout - how to fix without destroying the machine?

后端 未结 9 1320
温柔的废话
温柔的废话 2021-01-31 02:47

I\'m having a recurring problem with Docker Machine - every few days it decides to timeout and I am unable to recover it once this happens.

Example

9条回答
  •  一生所求
    2021-01-31 03:25

    This is usually a problem related to the way you start and stop your machine.

    You can solve it using

    1. $ docker-machine stop default
    2. $ docker-machine start default
    3. $ docker-machine regenerate-certs default

    Do not use docker-machine restart default because it will not refresh your networking configs.

提交回复
热议问题