docker_restart_policy:"unless-stopped" can be used unless-stopped -Always restart the container regardless of the exit status, but do not start it on daemon startup if the container has been put to a stopped state before.
docker_ restart_ policy: "unless- stopped" can be used
unless-stopped -Always restart the container regardless of the exit status, but do not start it on daemon startup if the container has been put to a stopped state before.