how to create docker image local and create container of it code example Example: how to build docker image docker build <Dockerfile path> -t image-name