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