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