Skip to main content
13-Aquamarine
August 4, 2017
Solved

UploadThing in DockerContainer

  • August 4, 2017
  • 6 replies
  • 3575 views

Has anyone tried to get the UploadThing Running in Docker?

Docker can not run sudo so the installscript fails. What is an Solution to this?

    Best answer by Chrischhan

    I have managed to reengineer the install script an create my own docker container.

    Steps taken:

    • create correct config files for Upload Thing an made an local folder for it
    • Create an startscript to change some values in configfiles (WS endpoint) and start the UploadThing
    • Create Dockerfile
    • Build and run image

    It is not beautifull and with ~450mb for the image not the smalest but it works in my case.

    if anyone is interested in the resources let me know about it

    6 replies

    5-Regular Member
    August 4, 2017

    Hello, Christian.

    Just so I'm understanding correctly, you're talking about UploadThing_Install-8-0.zip - a file that must be installed to upload data files via Analytics Builder, is that correct?

    If so, I'll ask one of our Analytics specialists to weigh in here.

    Thank you,

    -- Craig A.

    19-Tanzanite
    August 7, 2017

    Hi Christian

    As Craig asked, if this is the UploadThing for ThingWorx Analytics, could you please give us some more details on your architecture:

    - Did you install ThingWorx 8.0 as a docker container ?

    - and are you trying to install uplaodthing in that container ?

    - what is the host OS ?

    - is ThingWorx Analytics Server installed on a different machine or the same machine as ThingWorx Platform ?

    Thank you

    Kind regards

    Christophe

    13-Aquamarine
    August 21, 2017

    hi,

    my setup is one linux server with a TWX-Docker (8.0.1 - postgres) container and a second container with Analytics(8.0), both installed with the provided installers.

    next to the two containers is a postgres container.

    I tried to install the upload thing in the TWX Container because it needs acces to the ThingworxStorage folder.

    Did you have any installation steps or a manual for installing the Upload thing in the Docker container?

    Or even better some additional container with required connections to the TWX container?

    19-Tanzanite
    September 4, 2017

    Hi Christian

    Apologize for the delay I was OOTO.

    I am discussing this with R&D as there is indeed currently a lack of documentation on how to perform this.

    I will update the thread once I get some information form R&D .

    thank you

    Christophe