#!/bin/bash

CID=$(sudo docker run -d -v ~/velov-companion-server:/src eoger/flask-restful /sbin/my_init)
echo -n "Flask container IP : "
sudo docker inspect --format '{{ .NetworkSettings.IPAddress }}' $CID

#!/bin/bash

CID=$(sudo docker run -d -v $(pwd):/src eoger/flask-restful /sbin/my_init)
echo -n "Flask container IP : "
sudo docker inspect --format '{{ .NetworkSettings.IPAddress }}' $CID

Use current folder for docker's virtual folder
Use current folder for docker's virtual folder
