cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

UploadThing in DockerContainer

SOLVED
Level 8

UploadThing in DockerContainer

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: UploadThing in DockerContainer

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 6

Re: UploadThing in DockerContainer

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.

Re: UploadThing in DockerContainer

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

Re: UploadThing in DockerContainer

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?

Re: UploadThing in DockerContainer

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

Re: UploadThing in DockerContainer

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

Re: UploadThing in DockerContainer

For the record, check also How to install UploadThing into Thingworx core docker container? for a possibly easier implementation