Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I am looking for a way to use a tool to create the ThingWorx docker containers. We use Azure DevOps on Prem, and I am wondering if there is a way to load all the files from the thingworx docker download, put the needed files in the staging folder, and then build the docker container and push it to a repository, so multiple instances of ThingWorx can download the latest container.
Thank you!
Solved! Go to Solution.
Hello Sharon,
Yes I was able to work through all of our issues. We are able to successfully build the containers in Azure DevOps on Premise. Our challenge was getting some of the Ubuntu Libraries and Gosu download due to security protections, but we modified the docker files to look locally for the files, and were able to build them successfully.
For HTTPS, the keystore needed to be a JKS format, where the traditional RHEL version supported PKCS 12. Also there was an issue where some of the special characters in the Docker Compose file were causing the line to truncate so the SSL keystore password in the server.xml file was not correct.
For SSO, there are not any Docker specific instructions. I followed the same instructions for standard deployment, and just placed the files in the Docker Mounted ThingWorx Platform folder.
We have successfully build the containers, and rebuild when a newer version has come out. They have been deployed to multiple instances.
Tip - "How can I deploy ThingWorx Docker images on Azure Kubernetes Service (AKS)?": https://community.ptc.com/t5/IoT-Tips/How-can-I-deploy-ThingWorx-Docker-images-on-Azure-Kubernetes/ta-p/818309
I am not looking for a place to host the Docker container. I need a tool to build it. I need to run the ./build.sh stage and ./build.sh mssql commands that are giving in these instructions
Hi @MG_9567080.
We saw that you had opened several cases related to Docker. Did you receive an answer to your question in this post? Once you've built the image, you should be able to deploy any number of instances.
If you have more information to share with the community or have additional questions, please let us know.
Regards.
--Sharon
Hello Sharon,
Yes I was able to work through all of our issues. We are able to successfully build the containers in Azure DevOps on Premise. Our challenge was getting some of the Ubuntu Libraries and Gosu download due to security protections, but we modified the docker files to look locally for the files, and were able to build them successfully.
For HTTPS, the keystore needed to be a JKS format, where the traditional RHEL version supported PKCS 12. Also there was an issue where some of the special characters in the Docker Compose file were causing the line to truncate so the SSL keystore password in the server.xml file was not correct.
For SSO, there are not any Docker specific instructions. I followed the same instructions for standard deployment, and just placed the files in the Docker Mounted ThingWorx Platform folder.
We have successfully build the containers, and rebuild when a newer version has come out. They have been deployed to multiple instances.