docker command to create image code example Example: how to build docker image docker build -t image-name