Category    docker

Deploying openvpn on top of raspberry pi with docker

by Walter Rudametkin     docker rpi raspberrypi raspberry

Posted 2017.02.07 — Rennes, France

With the emergence of cloud offers with arm based server, it is convenient to be able to deploy vpn server on top of these platforms. For example Scaleway is a simple, scalable cloud platform. It's the a platform where you can start x86 64bit and ARM BareMetal servers from a unique and simple graphical interface but also through API. Next you can use docker to deploy your micro-services. In this blog post, I just summarize how you can deploy your own openvpn server.

Read More

Using Go-Docker and Docker Swarm on top of a cluster of raspberry pi.

by Walter Rudametkin     docker swarm go-docker raspberry pi

Posted 2016.03.24 — Rennes, France

Lightweight containers technologies such as Docker are more and more adopted for deploying and managing micro-services architectures. Indeed, they hide a part of the complexity resulting from the language heterogeneity and the large choice of existing implementation frameworks that can be used to implement modern applications. Containers provide those benefits without introducing the general cost of the virtualization.

It exists lots of open-source configuration managers such as kubernetes, nomad, apache Mesos, or docker swarm to define and keep a standard modular applications in a consistent state and to dispatch its services on a cluster of remote nodes. Tools such as Go-Docker would complement these stacks to provide a batch computing/cluster management tool using Docker as execution/isolation system. It can be seen like Sun Grid Engine/Torque/.

Go-Docker acts as an additional layer above those tools on multiple user systems where users do not have Docker priviledges or knowledge.

In this blog post, I will present some experiments to run Go-Docker on top of a cluster of raspberry pi.

Read More

Using Go-Docker and Docker Swarm to create a high-volume live and on demand video encoding solutions

by Walter Rudametkin     docker swarm go-docker

Posted 2015.12.01 — Rennes, France

The idea is to propose an initial solution to securely manages high-volume live and on demand video encoding solutions in combination with the scale and elasticity of the cloud. The providing service will automatically provisions and dynamically scales docker instances, and can seamlessly integrate those resources with on site infrastructure to instantly expand video processing capacity. This flexibility enables video providers to rapidly enhance multiscreen video offerings, grow audiences, generate greater revenues, and decrease capital expenses.

Read More

Playing with docker and opendaylight

by Walter Rudametkin     sdn opendaylight docker

Posted 2015.03.13 — Rennes, France

A short blog post to share my experience in playing with opendaylight and docker.

Currently there is no native integration of Open vSwitch in Docker, i.e., one cannot use the Docker client to automatically add a container's network interface to an Open vSwitch bridge during the creation of the container. However the last version of ovs provides a utility to use ovs with docker. As ovs support openflow 1.3. It provides a greate playground for practical work combining opendaylight, docker and ovs.

Read More

Using Kevoree to drive Docker

by Walter Rudametkin     docker kevoree

Posted 2014.10.15 — Rennes, France

Just a doc to show how you can drive docker using Kevoree Models@runtime frmaework.

Read More

Tips for starting any X11 apps (e.g. eclipse) in a docker container from a linux host

by Walter Rudametkin     docker eclipse

Posted 2014.08.26 — Rennes, France

Just a tips for starting any X11 apps (e.g. eclipse) in a docker container from a linux host

Read More

Running MDMS and MDMS Diversified using docker

by Walter Rudametkin     docker diversify

Posted 2014.08.23 — Rennes, France

I am just finishing the docker image to run mdms quickly.

To play with it, just pull the following images.

docker pull barais/mdmsredis #contains the redis databases
docker pull barais/mdmssosies #contains the sosies (it is big)
docker pull barais/nginxsosies #contains nginx and the websocket server for displaying connection

To create quickly a cluster of regular mdms worker



<h1>start nginx</h1>

<p>export ID<em>REDIS=$(docker  run -i -d -t barais/mdmsredis /usr/bin/redis-server)
export IP</em>REDIS=<code>docker inspect --format=&#39;{{ .NetworkSettings.IPAddress }}&#39; $ID_REDIS</code> </p>

<h1>start some sosies</h1>

<h1>run just once</h1>

<p>export ID<em>SOSIES=$(docker  run -i -d -t barais/mdmssosies /bin/bash -xec &quot;sed -i &quot;s/$IP</em>REDIS/g&quot; /opt/mdms-ringojs/config.json &amp;&amp; /opt/sosies/ringojs-0.10/bin/ringo /opt/mdms-ringojs/tools/fakedb.js&quot;)</p>

<h1>run for each sosies</h1>

<p>for i in {1..10}
    export ID<em>SOSIES=$(docker  run -i -d -t barais/mdmssosies /bin/bash -xec &quot;sed -i &quot;s/$IP</em>REDIS/g&quot; /opt/mdms-ringojs/config.json &amp;&amp; /opt/sosies/ringojs-0.10/bin/ringo /opt/mdms-ringojs/main.js&quot;)
    export IP<em>SOSIES=`docker inspect --format=&#39;{{ .NetworkSettings.IPAddress }}&#39; $ID</em>SOSIES`
    if [ -z &quot;$IPS<em>WORKER&quot; ]; then export IPS</em>WORKER=$IP<em>SOSIES; else export IPS</em>WORKER=&quot;$IP<em>SOSIES;$IPS</em>WORKER&quot;; fi<br>

<h1>start some nginx and websocket server</h1>

<p>export ID<em>NGINX=$(docker  run -i -d -t barais/nginxsosies /main $IPS</em>WORKER) #you can add a second parameter for the public name of your website e.g.
export IP<em>NGINX=`docker inspect --format=&#39;{{ .NetworkSettings.IPAddress }}&#39; $ID</em>NGINX`
echo $IP_NGINX

To create quickly a cluster of diversified mdms workers:

Read More

Running a DHT (ETCD) in a cluster using docker

by Walter Rudametkin     docker

Posted 2014.08.12 — Rennes, France

I am just playing using docker and etcd.

To create a distributed dht within a cluster using etcd and docker. I create a container based on ubuntu. I just add the go language git and etcd. If you want to play with it you can pul it

docker pull barais/etcd

and start your three containers.

sudo docker run -p 4001:4001 -p 7001:7001 -t -i barais/etcd   /etcd/bin/etcd -peer-addr -addr  -data-dir machines/machine1 -name machine</p>

<p>sudo docker run -p 4002:4002 -p 7002:7002 -t -i barais/etcd   /etcd/bin/etcd -peer-addr -addr  -peers, -data-dir machines/machine2 -name machine2</p>

<p>sudo docker run -p 4003:4003 -p 7003:7003 -t -i barais/etcd   /etcd/bin/etcd  -peer-addr -addr -peers, -data-dir machines/machine3 -name machine3

Next step: doing the same thing using kubernetes.

To follow ...

Read More