How to forward GUI from docker container running on docker-machine on freeBSD

I have been successfully able to run GUI apps on docker using X11 forwarding as mentioned below

docker run -ti --rm
-v /tmp/.X11-unix:/tmp/.X11-unix

I am facing the problem of trying to achieve the same when trying to forward display from Container to boot2docker to freeBSD host. I want to run a GUI app on a ubuntu-container running on docker-machine(on freeBSD)

Can I use socat to achieve this as mentioned here?

Source: StackOverflow