Build an image based on the Dockerfile:
docker image build .
The result of above is
docker run --rm -ti <IMAGE_ID>
--rm : If instead you’d like Docker to automatically clean up the container and remove the file system when the container exits, you can add the --rm flag src : https://docs.docker.com/engine/reference/run/
What does the -ti argument achieve ?