NOTE: order of arguments matters, imagename must be at the end.
docker run -p 7777/7777 -d <imagename>
NOT
docker run <imagename> -d -p 7777/7777
you will get an extremely unhelpful error message like if you do not
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: \"-p\": executable file not found in $PATH": unknown.
docker run -d <image>
docker run -p 80:80/tcp
docker exec -it <container_id> /bin/bash
docker run -it <image> /bin/bash
docker build . -t <tag>
docker system prune -a