Common Use
Build Image
docker build -t image-name ./path-dockerfile
Pull Image
Run Container
docker run -d --name container-name -p HOST_PORT:_CONTAINER_PORT -t image-name
Delete Image & Container
Delete Containerdocker rm -f container-name|container-id
Delete Imagedocker rmi image-name|image-id
Reference