mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Under the restart policy "--restart=no", there is no record about it in the information from docker inspect. To keep it consistent around the three(maybe more in the future) restart policies and distinguish with no restart policy specified cases, it's worth to record it even though it is the default restart policy which will not restart the container. Signed-off-by: Hu Keping <hukeping@huawei.com> Upstream-commit: 2082ff82b581dfbe252338829c1ce7c31797f66c Component: engine