If you have used my configuration, keep in mind that everything for me runs under the same docker network name and hence i can give each container a name which resolves for a given host.
I use docker-compose for such situations.
IN your case, however the url : http://duckling:8000 won’t work but rather try with localhost