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