how to build image using docker file code example Example: how to build docker image docker build <Dockerfile path> -t image-name