ice run --name sa-disc-super connector_service/disc-super -p 9080 -e model_id=mod_x1c --ssh ~/Documents/Projects/capstone/ccs/keys.ssh/ics_key_rsa.pub
Please note that the image must include a running ssh daemon in order to be able to use ssh key
Port 22 was automatically exposed for ssh
Command failed with container cloud service
Error creating container {'space_guid': u'89027768-0e68-4a86-9b40-cb2fcf12c009', 'name': u'sa-disc-super', 'tenant_name': u'BM_89027768-0e68-4a86-9b40-cb2fcf12c009_64ad26afcb34b8ad', 'image': u'ce236ce9-2091-40fb-af7e-e4f2256d3566', 'security_groups': None, 'flavor': u'1', 'id': None, 'tenant': u'BM_89027768-0e68-4a86-9b40-cb2fcf12c009_64ad26afcb34b8ad'}: Keypair data is invalid: failed to generate fingerprint
If I create the container from ACE UI then the container starts fine with the same key.
Is it possible to specify environment variables while creating a container from ACE UI ?
Answer by pdettori (56) | Jun 08, 2015 at 01:03 PM
Thank you for reporting this issue. Currently the ice CLI expects the ssh key parameter to be a string containing the ssh key, not a file path. So you should run your command above this way:
ice run --name sa-disc-super connector_service/disc-super -p 9080 -e model_id=mod_x1c --ssh "ssh-rsa AAAAB....."
We are going to improve the CLI help and docs to clarify this.
Issues getting into the DB2 container post cf ic run and container shutdown automatically 1 Answer
Unable to push Docker image to private Bluemix repository 0 Answers
ice namespace set example 1 Answer
IBM Container does not start application 2 Answers
How do you add a volume to a container in the IBM Bluemix Docker cloud? 2 Answers