Access Nucleus on Host from Replicator inside Docker

I run replicator using the provided Docker image on my Ubuntu 20 Workstation. There is a Nucleus on the Workstation, and I set up the container in a way that it can access the host network. I checked that using telnet 3180 inside the container.

I try to reference the Reallusion Worker from the Nucleus like in this tutorial:

I basically want to prove that I can access Nucleus Assets from within the container.

Right now, I get a log like this:

2022-09-22 14:54:05 [16,530ms] [Warning] [omni.usd] Warning: in _ReportErrors at line 2830 of /buildAgent/work/ca6c508eae419cf8/USD/pxr/usd/usd/stage.cpp – Could not open asset @omniverse://localhost/NVIDIA/Ass
ets/Characters/Reallusion/Worker/Worker.usd@ for reference on prim @anon:0x7f796c002670:World1.usd@,@anon:0x7f796c004680:World1-session.usda@</Replicator/Ref_Xform/Ref>. (recomposing stage on stage @anon:0x7f796
c002670:World1.usd@ <0x7f796c0079d0>)

I guess I have to authenticate against the nucleus, but might be wrong. If so, how do I do that within scripting, does the replicator API provide any function?


Hello @bruno.vetter! I alerted the Replicator team of this post. I will let you know when I have more information for you!

Hi! I believe you should be able to use environment variables to pass credentials to Nucleus to satisfy the authenticated connection requirement. These work in both Linux and Windows:


Please give this a try and report back to us.


This works, thanks a lot!