Restart container within pod

前端 未结 9 1124
日久生厌
日久生厌 2020-12-04 07:04

I have a pod test-1495806908-xn5jn with 2 containers. I\'d like to restart one of them called container-test. Is it possible to restart a single co

9条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 07:25

    Killing the process specified in the Dockerfile's CMD / ENTRYPOINT works for me. (The container restarts automatically)

    Rebooting was not allowed in my container, so I had to use this workaround.

提交回复
热议问题