Fiware docker container service (FDCS)- getting started

187 views

Published on

This presentation introduces the FIWARE Docker Container Service (FDCS) and describes how you can start using the service. FDCS allows you to manage your docker containers, volumes, and networks remotely from your local Docker client.

You do not have to worry about creating or managing docker hosts, since the service maintains a cluster of docker hosts that you can use.

Many tenants may share the service’s resources, but they are isolated from each other.

Published in: Internet
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
187
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Fiware docker container service (FDCS)- getting started

  1. 1. FIWARE Docker Container Service (FDCS) Getting Started Kenneth Nagin IBM nagin@il.ibm.com
  2. 2. Multi-Tenant Swarm …. client client docker-cli docker-compose docker api, any tool based on docker-api Docker Container Service Keystone Keystone api external ip external ip NFS Docker Container Service (FDCS)
  3. 3. Multi-Tenant Isolation and Multi-Tenant Name Scoping Tenant 1 Docker Container Service Keystone Tenant 2 Tenant 3 nfs Multi-Tenant Swarm ……
  4. 4. Getting started is simple 1. Sign up FIWARE lab account (https://account.lab.fiware.org/sign_up/) 2. Apply for access to the service – Contact nagin@il.ibm.com 3. Setup your local environment to work remotely with the service. 4. Use docker! – Both Docker CLI and Docker Compose can be used out of the box
  5. 5. 7 Set up your local environment remote docker host endpoint DOCKER_HOST: >export DOCKER_HOST=tcp://docker.lab.fiware.org:2376 >docker <cmd> docker –H flag: >docker -H tcp://docker.lab.fiware.org:2376 <cmd> >docker [--config <config.json directory>] <cmd>
  6. 6. 8 Set up your local environment config.json config.json: { "HttpHeaders": { "X-Auth-Token": <keystone token>, "X-Auth-TenantId": <keystone tenant id> } } config.json describes additional headers to send to a remote docker service. By default in $HOME/.docker/config.json, but docker –config can override default. >docker <cmd> >docker [--config <config.json directory>] <cmd>
  7. 7. 9 Set up your local environment set_docker_conf.bash >export TENANT_NAME=<user’s organization, e.g. ‘username cloud' >export USERNAME=<user’s email address, e.g. ‘username@gmail.com’ >export PASSWORD=<user’s password> >export KEYSTONE='http://cloud.lab.fi-ware.org:4730/v2.0/' >set_docker_config.bash set_docker_conf.bash updates config.json with your keystone token and tenant id. Download at http://catalogue.fiware.org/enablers/docker/downloads
  8. 8. Transparent remote interaction with FDCS >docker run hello_world
  9. 9. FIWARE Docker Container Service (FDCS) online documentation •readthedocs: http://fiware-docker-container-service.readthedocs.org/en/latest/ •FIWARE catalogue: http://catalogue.fiware.org/enablers/docker/

×