The docker image is defined in the Dockerfile. See comments in the Dockerfile for more information.
the image name is "simple-python-app", the . means that it will look for the Dockerfile in the current directory
docker build -t simple-python-app .
-
mount - mount a local directory to the container. in this case the local directory is /Users//storage and the container directory is /storage
-
-p 8080:8080 - publish the container port 8080 to the host port 8080
-
-it - run the container in interactive mode
-
--rm - remove the container when it exits
-
--name simple-python-app - name the container simple-python-app
docker run --mount type=bind,source="/Users/<my-user-name>/storage",target=/storage -p 8080:8080 -it --rm --name simple-python-app simple-python-app