create docker image of running container code example Example: how to build docker image docker build -t image-name