Restart A Container

Run Container

Create and start (docker run) a detached (--detach) Docker container called new-project (--name new-project) based on the python:3.8-slim image.

docker run --detach --name new-project python:3.8-slim
e86b5951906b8a1f0ee0bf9f78adf66fcb16f06d89be5282eec5344c498f365e

Restart That Container

Restart (docker restart) the Docker container called new-project.

docker restart new-project
new-project