build docker image using dockerfile code example Example: docker build image docker build --tag hello .