You can automatically attach a created container and read its output by using a callback.
The callback need two arguments: