[Fiware-ceedtech-coaching] I: FIWARE Docker question

consoft-fiwarecoach at consoft.it consoft-fiwarecoach at consoft.it
Fri Mar 25 11:44:24 CET 2016


Hi,

The following is a message received from the Slamby team regarding Docker, to be forwarded to the GE owner.

Best regards,
Marco


Marco Terrinoni
Consoft Sistemi s.p.a.
BU Application
Via Pio VII 127 - 10127 - Torino
Tel (+39) 011 3161571
Fax (+39) 011 3161583

Da: Zsolt Illés [mailto:zsolt.illes at slamby.com]
Inviato: giovedì 24 marzo 2016 16:02
A: consoft-fiwarecoach at consoft.it
Cc: Attila László <laszlo.attila at slamby.com>
Oggetto: FIWARE Docker question

Hello Marco,


My name is Zsolt Illés and I'm a developer at Slamby and I need some help concerning instantiating Docker hosting in FIWARE. I was told that you can help me with that.

I found a detailed presentation and a video that helped me a lot:
http://www.slideshare.net/knagin/simple-docker-hosting-on-fiware-lab
https://www.youtube.com/watch?v=XlNI1YyQ8x8

I use Docker Toolbox on Windows to run Docker commands with the following environment variables and command:

export OS_REGION_NAME='Spain2'
export OS_TENANT_NAME='slamby cloud'
export OS_USERNAME='it at slamby.com<mailto:it at slamby.com>'
export OS_PASSWORD='********'
export OS_AUTH_URL='http://cloud.lab.fi-ware.org:4730/v2.0/'
export OS_AUTH_STRATEGY='keystone'

docker-machine create -d openstack --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="default" docker-host-test

And the result was:

Running pre-create checks...
Creating machine...
(docker-host-test) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Warning: got an invalid line error parsing /etc/os-release: Expected Please login as the user "ubuntu" rather than the user "root". to split by '=' char into two strings, instead got 1 strings
Error creating machine: Error detecting OS: OS type not recognized


The new virtual machine was created in FIWARE Cloud and running, but due to this error docker-machine could not get and store encryption keys (server-key.pem, server.pem, key.pem, cert.pem, ca.pem).
Without these keys docker-machine cannot communicate with the host.
I managed to install Ubuntu with Docker Engine by myself on another VM, but it would be nice if I could manage to create VM with Docker through FIWARE OpenStack.

Can you help me with that?
Thanks in advance.

Best Regards,
Zsolt Illés


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ceedtech-coaching/attachments/20160325/6777fd21/attachment.html>


More information about the Fiware-ceedtech-coaching mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy