How to make dockerfile for omniverse composer

Hello there! I’m very new for omniverse and I’m trying to run omniverse composer on docker
I created Dockerfile using nvcr.io/nvidia/omniverse/kit:104.0.0 as a base image (FROM nvcr.io/nvidia/omniverse/kit:104.0.0)
And I ADD my local’s composer files into docker like (ADDpkg/deps/ab9e449f5b9245be8e02dac6d1e9b930/ /composer/) => of course I made /composer directory (RUN mkdir -p /composer)
And finally I made ENTRYPOINT as below,

ENTRYPOINT [
#“/opt/nvidia/omniverse/kit-sdk-launcher/kit”, “/composer/apps/omni.create.kit”,
“/composer/kit.sh”, “/composer/apps/omni.create.kit”,
“–ext-folder”, “/composer/exts/”,
#“–app-folder”, “/composer/apps”
“–enable omni.services.streamclient.webrtc”,
“–allow-root”,
“–no-window”
]

After docker build, I ran this image on docker and I met two problem as belows

  • it cannot make display (it shows “2023-12-19 11:32:38 [382ms] [Error] [carb.glinterop.plugin] GLInteropContext::init: carb::windowing is not available”)
    → - but it show me GPU information normally like below
    |---------------------------------------------------------------------------------------------|
    | Driver Version: 470.223.02 | Graphics API: Vulkan
    |=============================================================================================|
    | GPU | Name | Active | LDA | GPU Memory | Vendor-ID | LUID |
    | | | | | | Device-ID | UUID |
    |---------------------------------------------------------------------------------------------|
    | 0 | NVIDIA GeForce RTX 3090 | Yes: 0 | | 24822 MB | 10de | 0 |
    | | | | | | 2204 | 4cecf4bb… |
    |---------------------------------------------------------------------------------------------|
    | 1 | NVIDIA GeForce RTX 3090 | Yes: 1 | | 24822 MB | 10de | 0 |
    | | | | | | 2204 | dc596804… |
    |=============================================================================================|
    | OS: Linux c620bb61ffb3, Version: 5.15.0-91-generic
    | Processor: Intel(R) Core™ i9-10980XE CPU @ 3.00GHz | Cores: Unknown | Logical: 36
    |---------------------------------------------------------------------------------------------|
    | Total Memory (MB): 257413 | Free Memory: 251247
    | Total Page/Swap (MB): 2047 | Free Page/Swap: 2047
    |---------------------------------------------------------------------------------------------|

  • it cannot refer python libraries which is inside in /composer/extscache folder already.

    example error logs is
    [omni.ext._impl.custom_importer] Failed to import python module omni.anim.retarget.ui. Error: No module named ‘omni.kit.browser.sample’
    ===

My Question is.

  1. How can I make docker image which can run omniverse apps utilizing GPU. Do you have any base docker image for this case? If not, Is it good enught if I install xorg component in ubuntu server base image?
  2. I don’t understand why it cannot refer to python library which is inside in context. Please let me know how to solve it.

Thank a lot in advance.