make an image from a container docker code example Example: how to build docker image docker build <Dockerfile path> -t image-name