Define container name in configuration file

This supersedes #33. This PR is the rebased version of the original.