added support for adding to existing container - based on old dokku version