I'm starting with FDCS and i have followed this
<http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/u
ser-guide/index.html#quick-start>
http://fiware-docker-container-service.readthedocs.io/en/latest/userguide/us
er-guide/index.html#quick-startguide.
1.
./set_docker_conf.sh -d ~/.docker -t "lprunella cloud" -u
<mailto:nicola.prunella at terasrl.it> nicola.prunella at terasrl.it-p Psynergia1
-a cloud.lab.fi-ware.org:4730
2.
<mailto:root at formica-VirtualBox:~/.docker>
root at formica-VirtualBox:~/.docker#cat config.json
{
"HttpHeaders": {
"X-Auth-TenantId": "b85cedef9c964ee7b7b77d1ed1845e71",
"X-Auth-Token": "59894088e8514d7eb8583e9ef498a88b"
}
}
3.
docker --config ~/.docker network create --driver bridge isolated_nw
docker --config ~/.docker network inspect isolated_nw
docker --config ~/.docker run --net=isolated_nw -itd -p 80 --name=container1
busybox sh -c "httpd;sh"
docker --config ~/.docker run --net=isolated_nw -itd -p 80 --name=container2
busybox sh -c "httpd;sh"
docker --config ~/.docker network inspect isolated_nw
docker --config ~/.docker exec container1 ping -W 1 -c 3 container2
docker --config ~/.docker ps
docker --config ~/.docker network ls
user1_container1_URL=$(docker --config ~/.docker port container1 80)
user1_container2_URL=$(docker --config ~/.docker port container2 80)
$ curl -s $user1_container1_URL > /dev/null && echo connected || echo Fail
connected
$ curl -s $user1_container2_URL > /dev/null && echo connected || echo Fail
connected
All is going ok and I have checked that the above containers are up and
running, but if I restart by VM whereI have issued the above command I
cannot find any running container with docker --config ~/.docker ps.
The doubt is : have I run effectively these container on Fiware FDCS ?
Thank you
Best Regards
cid:image001.png at 01D1EDAF.8BF11F70
NICOLA PRUNELLA
Software Engineer
M.: +39 335 7174081
<mailto:nicola.prunella at terasrl.it> nicola.prunella at terasrl.it
<https://www.linkedin.com/company/tera-srl>
cid:image002.jpg at 01D1EDAF.8BF11F70 <https://twitter.com/terasrl/>
cid:image003.jpg at 01D1EDAF.8BF11F70
<https://www.facebook.com/terasrl/?ref=settings>
cid:image004.jpg at 01D1EDAF.8BF11F70
<https://www.youtube.com/channel/UCEL7okanxt_JFt3YJUrV6cg>
cid:image005.jpg at 01D1EDAF.8BF11F70
cid:image002.jpg at 01D1EDAF.8BF11F70 <https://twitter.com/lprunella>
cid:image006.jpg at 01D1EDAF.8BF11F70cid:image004.jpg at 01D1EDAF.8BF11F70
<skype:> cid:image007.jpg at 01D1EDAF.8BF11F70
TERA SRL
Via Cesare Balbo 19/D,
70014, Conversano (BA),
Italy
P.: +39 080 2147775
<http://www.terasrl.it> www.terasrl.it
<mailto:info at terasrl.it> info at terasrl.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4234 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 774 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 803 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 830 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 774 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 774 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160920/33250d27/attachment-0005.jpg>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy