How to Create Endpoints for your Docker Containers in PWD?
PWD (Play With Docker) don’t automatically provide endpoint link for your containers. Now you have to use run jpetazzo/supergrok as your daemon. And create endpoint URLs by run following command by yourself.
For example, if you run a http server in PWD, such as
docker run -d -p 8080:8080 chrishelgert/hapi-rest-proxy
You may expect to see a 8080 port link to create a endpoint URL dynamically as it was in PWD. But now, you have to do you by running a super grok daemon as follow;
docker run --name supergrok -d jpetazzo/supergrok
So that you may see two containers are running in this docker.
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
26ee6f4298cb jpetazzo/supergrok "supergrok.sh" 2 hours ago Up 2 hours supergrok
af50a3b4d009 chrishelgert/hapi-rest-proxy "yarn start" 2 hours ago Up 2 hours 0.0.0.0:8080->8080/tcp dreamy_leavitt
if you want to create a dynamic domain name URL for this http app running on port 8080. You have to create the link by yourself.
docker run --net host -ti jpetazzo/ngrok http 192.168.0.158:8080
where 192.168.0.158 is current node IP, and 8080 is the port exported from your container for both http and https.

You may see the port forwarding is running as above. So test your endpoints on either https://4f9ef1b1.ngrok.io or http://4f9ef1b1.ngrok.io with your browser or issue a curl command as follow;
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET "https://4f9ef1b1.ngrok.io/?url=http://api.fixer.io/latest"
This is the page of Hapi REST Proxy http server showed when you surf the endpoints. Of course you can test any your containers with different ports too in PWD. Have Fun!