Based on my blog post "How to install and configure Oracle Traffic Director 12c - fully unattended" http://dirknachbar.blogspot.ch/2017/09/how-to-install-and-configure-oracle.html, I have converted and aligned my scripts to be used in a Docker Image.
The Oracle Traffic Director Image is based on my already published OracleJDK and OracleFMWInfrastrcure Images (https://github.com/DirkNachbar/Docker).
Just get a copy of my complete GitHub Repository (Download all required software binaries from Oracle) and you can start with building at first the OracleJDK Image:
cd OracleJava/java-8 ./buildDockerImage.sh
After that, just create on top of the OracleJDK Image the Oracle Fusion Middleware WebLogic Infrastructure:
cd OracleFMWInfrastructure/dockerfiles ./buildDockerImage.sh -v 12.2.1.3
Finally you can create Oracle Traffic Director Image, based on my instructions in GitHub https://github.com/DirkNachbar/Docker/tree/master/OracleOTD/dockerfiles and after the successful build of the OTD Image, you can execute the docker-compose file as described in the GitHub https://github.com/DirkNachbar/Docker/tree/master/OracleOTD/samples
Enjoy Oracle Traffic Director in Docker ;-)