docker run --rm hello-world docker ps --all docker rm <container_id>
docker run -p 80:80 -v ./data:/usr/share/nginx/html --name my_server nginx:1.20.0-alpine docker start my_server docker exec -it my_server /bin/sh
Manual – https://docs.docker.com/compose/compose-file/compose-file-v2/
version: "2.4" services: web: image: nginx:1.20.0-alpine container_name: my_server ports: - 80:80 volumes: - ./data:/usr/share/nginx/html