docker build command to create image code example Example: docker build image docker build --tag hello .