$ sudo docker network create --subnet=172.18.0.0/16 vsomeip_bridge
it will take a while
$ cd docker-boost-build
$ docker build -t boost_build:v0 .
$ cd docker-vsomeip-build
$ docker build -t vsomeip_build:v0 .
$ cd docker-vsomeip-service
$ docker build -t vsomeip_service:v0 .
$ cd docker-vsomeip-client
$ docker build -t vsomeip_client:v0 .
$ docker run --net vsomeip_bridge --ip 172.18.0.2 vsomeip_service:v0
$ docker run --net vsomeip_bridge --ip 172.18.0.3 vsomeip_client:v0
should be good to go :)
#download boost 1.58
$ sudo apt-get update
$ sudo apt-get install net-tools cmake -y
$ sudo apt-get install build-essential
$ wget http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.gz
$ tar -xf boost_1_58_0.tar.gz
$
$ cd boost_1_58_0/
$ ./bootstrap.sh --prefix=/usr/
$ sudo ./b2 install
#vsomeip
$ git clone http://github.com/GENIVI/vSomeIP.git
$ cd vSomeIP
$ git checkout tags/2.14.16
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo nano ~/.bashrc
# add to your .bashrc
# the path of (libvsomeip.so)
export LD_LIBRARY_PATH=~/SOMEIP/vSomeIP/build${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./service-example
$ ./client-example