in support/retro_contest/rest.py [0:0]
def docker_show_args(args, server, cookies):
r = requests.get(server + '/rest/user', cookies=cookies)
if r.status_code != 200 or 'cr' not in r.json():
print('Failed to obtain container registry')
return False
cr = r.json()['cr']
print('Registry URL:', cr['url'])
print('Username:', cr['username'])
if args.show_password:
print('Password:', cr['password'])
return True