tag = self.image
if config.has('docker_hub_repository'):
- tag = '%s/%s' % (config.get('docker_hub_repository'), tag)
+ tag = '%s:%s' % (config.get('docker_hub_repository'), tag)
self.container = command_and_read('%s run -u %s %s -itd %s /bin/bash' % (config.docker(), getpass.getuser(), opts, tag)).read().strip()