build and image from a dockerfile code example Example: docker build image docker build --tag hello .