run sql-relay as docker container
To run the container, do the following(for example):
start
docker run -p xx:xx -v /xx:/xx -t -i -d cbping/sqlrelay /bin/bash
then
[root@bf3648a633d1 /]# sqlr-start -config /xx/sqlrelay.conf -id xx
click crtl+p+q
,let container running in background
or
docker run -p xx:xx -v /xx:/xx -t -i -d cbping/sqlrelay start -config /xx/sqlrelay.conf -id xx
To build the image, simply invoke
docker build github.com/Bping/docker-sqlrelay
A prebuilt container is also available in the docker index
docker pull cbping/sqlrelay