First, build your image (assuming your Dockerfile is in the current directory):

docker build -t myimg .

Then call run:

docker run -it myimg