First, build your image (assuming your Dockerfile is in the current directory):
docker build -t myimg .
Then call run:
docker run -it myimg
Part of docker
First, build your image (assuming your Dockerfile is in the current directory):
docker build -t myimg .
Then call run:
docker run -it myimg