# New container $ docker run -d --restart unless-stopped your_container_name_here # Existing container $ docker update --restart unless-stopped your_container_name_here