Docker in Azure

Has anyone tried to run the docker image in an azure docker resource and pointing it to the spark which is accessible from the internet?