Hi @sdetweil, Thanks for your reply.
I have sourced all the 3 the environment variables in the container.
I tried pinging the sql server from the container, it did not respond.
However, pinging google.com from the container worked.
If it was firewall issues, I was able to ping SQL server outside the container (ubuntu terminal) and it worked fine,
My main OS is windows10. I am running Oracle VM VirtualBox on Ubuntu.
On Ubuntu 16.04, I have installed docker. So the docker host is Ubuntu or windows?
Bit confused.