"When you finished to setup your image and when you are happy ..." reads kind of strange, probably because a few small words are missing.  I would recommend something more like "When you have finished setting up your image and are happy ...".

Also later, "The result will be an output and stdout." probably meant to be "The result will be output to stdout."

Later still: "repository that container" to "repository that contains".