Skip to content

failed to upload image tar into container --> Timeout error #427

Closed

Description

@turbolego
ubuntu@openclaw:~$ nemoclaw list

  No sandboxes registered. Run `nemoclaw onboard` to get started.

ubuntu@openclaw:~$ nemoclaw onboard

  NemoClaw Onboarding
  ===================

  [1/7] Preflight checks
  ──────────────────────────────────────────────────
  ✓ Docker is running
  ✓ openshell CLI: openshell 0.0.10
  ⓘ No GPU detected — will use cloud inference

  [2/7] Starting OpenShell gateway
  ──────────────────────────────────────────────────
✓ Checking Docker
✓ Downloading gateway
✓ Initializing environment
✓ Starting gateway                                                                     
✓ Gateway ready

  Name: nemoclaw
  Endpoint: https://127.0.0.1:8080

✓ Active gateway set to 'nemoclaw'
  ✓ Gateway is healthy

  [3/7] Creating sandbox
  ──────────────────────────────────────────────────
  Sandbox name (lowercase, numbers, hyphens) [my-assistant]: my-assistant
  Creating sandbox 'my-assistant' (this takes a few minutes on first run)...
Building image openshell/sandbox-from:1773863563 from /tmp/nemoclaw-build-KzCfSb/Dockerfile
  Context: /tmp/nemoclaw-build-KzCfSb
  Gateway: nemoclaw

  Building image openshell/sandbox-from:1773863563 from /tmp/nemoclaw-build-KzCfSb/Dockerfile
  Step 1/22 : FROM node:22-slim
   ---> c7d2ba7d15bc
  Step 2/22 : ENV DEBIAN_FRONTEND=noninteractive
   ---> Using cache
   ---> a9255f96f6f3
  Step 3/22 : RUN apt-get update && apt-get install -y --no-install-recommends         python3 python3-pip python3-venv         curl git ca-certificates         iproute2     && rm -rf /var/lib/apt/lists/*
   ---> Using cache
   ---> 5c80097345f1
  Step 4/22 : RUN groupadd -r sandbox && useradd -r -g sandbox -d /sandbox -s /bin/bash sandbox     && mkdir -p /sandbox/.openclaw /sandbox/.nemoclaw     && chown -R sandbox:sandbox /sandbox
   ---> Using cache
   ---> bd616ae67a83
  Step 5/22 : RUN npm install -g [email protected]
   ---> Using cache
   ---> f6157bcdb2db
  Step 6/22 : RUN pip3 install --break-system-packages pyyaml
   ---> Using cache
   ---> 25bbdabbcbac
  Step 7/22 : COPY nemoclaw/dist/ /opt/nemoclaw/dist/
   ---> Using cache
   ---> 804a69a0ea11
  Step 8/22 : COPY nemoclaw/openclaw.plugin.json /opt/nemoclaw/
   ---> Using cache
   ---> 90ff319b1cac
  Step 9/22 : COPY nemoclaw/package.json /opt/nemoclaw/
   ---> Using cache
   ---> 8a9dde680a50
  Step 10/22 : COPY nemoclaw-blueprint/ /opt/nemoclaw-blueprint/
   ---> Using cache
   ---> a703ff1ea6f2
  Step 11/22 : WORKDIR /opt/nemoclaw
   ---> Using cache
   ---> 5ac41b506979
  Step 12/22 : RUN npm install --omit=dev
   ---> Using cache
   ---> 080bbf833a6a
  Step 13/22 : RUN mkdir -p /sandbox/.nemoclaw/blueprints/0.1.0     && cp -r /opt/nemoclaw-blueprint/* /sandbox/.nemoclaw/blueprints/0.1.0/
   ---> Using cache
   ---> 1e4e978493f9
  Step 14/22 : COPY scripts/nemoclaw-start.sh /usr/local/bin/nemoclaw-start
   ---> Using cache
   ---> 334edc1c84be
  Step 15/22 : RUN chmod +x /usr/local/bin/nemoclaw-start
   ---> Using cache
   ---> dcdcec1ae58a
  Step 16/22 : WORKDIR /sandbox
   ---> Using cache
   ---> bd81f1f8b4f4
  Step 17/22 : USER sandbox
   ---> Using cache
   ---> 96a75f273d67
  Step 18/22 : RUN mkdir -p /sandbox/.openclaw/agents/main/agent     && chmod 700 /sandbox/.openclaw
   ---> Using cache
   ---> 606074effd17
  Step 19/22 : RUN python3 -c "import json, os; config = {     'agents': {'defaults': {'model': {'primary': 'nvidia/nemotron-3-super-120b-a12b'}}},     'models': {'mode': 'merge', 'providers': {'nvidia': {         'baseUrl': 'https://inference.local/v1',         'apiKey': 'openshell-managed',         'api': 'openai-completions',         'models': [{'id': 'nemotron-3-super-120b-a12b', 'name': 'NVIDIA Nemotron 3 Super 120B', 'reasoning': False, 'input': ['text'], 'cost': {'input': 0, 'output': 0, 'cacheRead': 0, 'cacheWrite': 0}, 'contextWindow': 131072, 'maxTokens': 4096}]     }}} }; path = os.path.expanduser('~/.openclaw/openclaw.json'); json.dump(config, open(path, 'w'), indent=2); os.chmod(path, 0o600)"
   ---> Using cache
   ---> 04cbd31ce611
  Step 20/22 : RUN openclaw doctor --fix > /dev/null 2>&1 || true     && openclaw plugins install /opt/nemoclaw > /dev/null 2>&1 || true
   ---> Using cache
   ---> c59fe4d3cd2e
  Step 21/22 : ENTRYPOINT ["/bin/bash"]
   ---> Using cache
   ---> 597625a452c1
  Step 22/22 : CMD []
   ---> Using cache
   ---> ed90792b8441
  Successfully built ed90792b8441
  Successfully tagged openshell/sandbox-from:1773863563
  Built image openshell/sandbox-from:1773863563
  Pushing image openshell/sandbox-from:1773863563 into gateway "nemoclaw"
  [progress] Exported 2557 MiB
Error:   × failed to upload image tar into container
  ╰─▶ Timeout error

  Command failed (exit 1): set -o pipefail; openshell sandbox create --from "/tmp/nemoclaw-build-KzCfSb/Doc
ubuntu@openclaw:~$ 

Activity

  1. added
    platform: ubuntu
    on Mar 19, 2026
  2. paritoshd-nv commented on Mar 19, 2026

    @paritoshd-nv
    Contributor

    From the log description:

      [progress] Exported 2557 MiB
    Error:   × failed to upload image tar into container
      ╰─▶ Timeout error
    
      Command failed (exit 1): set -o pipefail; openshell sandbox create --from "/tmp/nemoclaw-build-KzCfSb/Doc
    

    The image size is large ~2.5GB. In usual installations, I have seen it ~0.5 GB.

    Issue appears to be : openshell sandbox create --from fails with timeout when the resulting image is large (e.g., 2.5 GB).

  3. paritoshd-nv commented on Mar 19, 2026

    @paritoshd-nv
    Contributor

    Logged an issue in OpenShell: ai-openshell/openshell#485

  4. lchlch commented on Mar 20, 2026

    @lchlch

    the same error , 4c8g ubuntu 22.04

  5. turbolego commented on Mar 21, 2026

    @turbolego
    Author

    Attempted again today starting from scratch with:

    curl -fsSL https://nvidia.com/nemoclaw.sh | bash

    Still the same error, but this time Exported 1923 MiB which is lower than Exported 2557 MiB last time i tried.

    ubuntu@openclaw:~$ curl -fsSL https://nvidia.com/nemoclaw.sh | bash
    [INFO]  === NemoClaw Installer ===
    [INFO]  Node.js found: v24.14.0
    [INFO]  Runtime OK: Node.js v24.14.0, npm 11.9.0
    [INFO]  Installing NemoClaw from GitHub…
    Cloning into '/home/ubuntu/.nemoclaw/source'...
    remote: Enumerating objects: 205, done.
    remote: Counting objects: 100% (205/205), done.
    remote: Compressing objects: 100% (183/183), done.
    remote: Total 205 (delta 16), reused 106 (delta 8), pack-reused 0 (from 0)
    Receiving objects: 100% (205/205), 395.98 KiB | 2.59 MiB/s, done.
    Resolving deltas: 100% (16/16), done.
    [INFO]  Pre-extracting [email protected] with system tar (GH-503 workaround)…
    [INFO]  openclaw pre-extracted successfully
    npm warn deprecated [email protected]: Use your platform's native DOMException instead
    npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
    
    added 672 packages, changed 1 package, and audited 674 packages in 3m
    
    133 packages are looking for funding
      run `npm fund` for details
    
    5 vulnerabilities (1 moderate, 3 high, 1 critical)
    
    To address issues that do not require attention, run:
      npm audit fix
    
    To address all issues, run:
      npm audit fix --force
    
    Run `npm audit` for details.
    
    added 168 packages, and audited 169 packages in 23s
    
    55 packages are looking for funding
      run `npm fund` for details
    
    1 high severity vulnerability
    
    To address all issues, run:
      npm audit fix
    
    Run `npm audit` for details.
    
    > [email protected] build
    > tsc
    
    
    removed 641 packages, changed 1 package, and audited 3 packages in 50s
    
    found 0 vulnerabilities
    [INFO]  Verified: nemoclaw is available at /home/ubuntu/.npm-global/bin/nemoclaw
    [INFO]  Running nemoclaw onboard…
    [INFO]  Installer stdin is piped; attaching onboarding to /dev/tty…
    
      NemoClaw Onboarding
      ===================
    
      [1/7] Preflight checks
      ──────────────────────────────────────────────────
      ✓ Docker is running
      ✓ Container runtime: docker
      ✓ openshell CLI: openshell 0.0.10
      Cleaning up previous NemoClaw session...
      ✓ Previous session cleaned up
      ✓ Port 8080 available (OpenShell gateway)
      ✓ Port 18789 available (NemoClaw dashboard)
      ⓘ No GPU detected — will use cloud inference
    
      [2/7] Starting OpenShell gateway
      ──────────────────────────────────────────────────
    ✓ Checking Docker
    ✓ Downloading gateway
    ✓ Initializing environment
    ✓ Starting gateway                                                                                         
    ✓ Gateway ready
    
      Name: nemoclaw
      Endpoint: https://127.0.0.1:8080
    
    ✓ Active gateway set to 'nemoclaw'
      ✓ Gateway is healthy
    
      [3/7] Creating sandbox
      ──────────────────────────────────────────────────
      Sandbox name (lowercase, numbers, hyphens) [my-assistant]: 
      Creating sandbox 'my-assistant' (this takes a few minutes on first run)...
    Building image openshell/sandbox-from:1774096726 from /tmp/nemoclaw-build-iWtq19/Dockerfile
      Context: /tmp/nemoclaw-build-iWtq19
      Gateway: nemoclaw
    
      Building image openshell/sandbox-from:1774096726 from /tmp/nemoclaw-build-iWtq19/Dockerfile
      Step 1/33 : FROM node:22-slim AS builder
       ---> c7d2ba7d15bc
      Step 2/33 : COPY nemoclaw/package.json nemoclaw/tsconfig.json /opt/nemoclaw/
       ---> 573c62d4caa0
      Step 3/33 : COPY nemoclaw/src/ /opt/nemoclaw/src/
       ---> f05088c6d966
      Step 4/33 : WORKDIR /opt/nemoclaw
       ---> Running in d1e2ade03b10
       ---> Removed intermediate container d1e2ade03b10
       ---> ac0166548fc8
      Step 5/33 : RUN npm install && npm run build
       ---> Running in e12e1f88dc7b
      
    added 167 packages, and audited 168 packages in 47s
      
    54 packages are looking for funding
      run `npm fund` for details
      
    found 0 vulnerabilities
      npm notice
    npm notice New major version of npm available! 10.9.4 -> 11.12.0
    npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.12.0
    npm notice To update run: npm install -g [email protected]
    npm notice
    
      
    > [email protected] build
    > tsc
       ---> Removed intermediate container e12e1f88dc7b
       ---> dc8d44c1f3d9
      Step 6/33 : FROM node:22-slim
       ---> c7d2ba7d15bc
      Step 7/33 : ENV DEBIAN_FRONTEND=noninteractive
       ---> Using cache
       ---> a9255f96f6f3
      Step 8/33 : RUN apt-get update && apt-get install -y --no-install-recommends         python3 python3-pip python3-venv         curl git ca-certificates         iproute2     && rm -rf /var/lib/apt/lists/*
       ---> Using cache
       ---> 5c80097345f1
      Step 9/33 : RUN groupadd -r sandbox && useradd -r -g sandbox -d /sandbox -s /bin/bash sandbox     && mkdir -p /sandbox/.nemoclaw     && chown -R sandbox:sandbox /sandbox
       ---> Running in c4df76ff58f4
       ---> Removed intermediate container c4df76ff58f4
       ---> 6616614b598f
      Step 10/33 : RUN mkdir -p /sandbox/.openclaw-data/agents/main/agent         /sandbox/.openclaw-data/extensions         /sandbox/.openclaw-data/workspace         /sandbox/.openclaw-data/skills         /sandbox/.openclaw-data/hooks     && mkdir -p /sandbox/.openclaw     && ln -s /sandbox/.openclaw-data/agents /sandbox/.openclaw/agents     && ln -s /sandbox/.openclaw-data/extensions /sandbox/.openclaw/extensions     && ln -s /sandbox/.openclaw-data/workspace /sandbox/.openclaw/workspace     && ln -s /sandbox/.openclaw-data/skills /sandbox/.openclaw/skills     && ln -s /sandbox/.openclaw-data/hooks /sandbox/.openclaw/hooks     && chown -R sandbox:sandbox /sandbox/.openclaw /sandbox/.openclaw-data
       ---> Running in 5ad017892b68
       ---> Removed intermediate container 5ad017892b68
       ---> e27bb1dce008
      Step 11/33 : RUN npm install -g [email protected]
       ---> Running in b13495556839
      npm warn deprecated [email protected]: Use your platform's native DOMException instead
    
      
    added 655 packages in 7m
      122 packages are looking for funding
      run `npm fund` for details
      npm notice
    npm notice New major version of npm available! 10.9.4 -> 11.12.0
    npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.12.0
    npm notice To update run: npm install -g [email protected]
    npm notice
    
       ---> Removed intermediate container b13495556839
       ---> db01b3f87a76
      Step 12/33 : RUN pip3 install --break-system-packages pyyaml
       ---> Running in f81c530457c2
      Collecting pyyaml
        Downloading pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (806 kB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 806.6/806.6 kB 5.4 MB/s eta 0:00:00
      Installing collected packages: pyyaml
      Successfully installed pyyaml-6.0.3
      WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
    
       ---> Removed intermediate container f81c530457c2
       ---> d39e60ee033d
      Step 13/33 : COPY --from=builder /opt/nemoclaw/dist/ /opt/nemoclaw/dist/
       ---> 9e10a874c39c
      Step 14/33 : COPY nemoclaw/openclaw.plugin.json /opt/nemoclaw/
       ---> 1532cf123278
      Step 15/33 : COPY nemoclaw/package.json /opt/nemoclaw/
       ---> 620ba0e00e42
      Step 16/33 : COPY nemoclaw-blueprint/ /opt/nemoclaw-blueprint/
       ---> 7ec1c3f3cd89
      Step 17/33 : WORKDIR /opt/nemoclaw
       ---> Running in 0dc6ef1026f5
       ---> Removed intermediate container 0dc6ef1026f5
       ---> e83dc57475e7
      Step 18/33 : RUN npm install --omit=dev
       ---> Running in 31ea54cf0107
      
    added 9 packages, and audited 10 packages in 31s
      1 package is looking for funding
      run `npm fund` for details
      
    found 0 vulnerabilities
       ---> Removed intermediate container 31ea54cf0107
       ---> 01f6756d0cfc
      Step 19/33 : RUN mkdir -p /sandbox/.nemoclaw/blueprints/0.1.0     && cp -r /opt/nemoclaw-blueprint/* /sandbox/.nemoclaw/blueprints/0.1.0/
       ---> Running in 0703f7599888
       ---> Removed intermediate container 0703f7599888
       ---> e6eecb946e23
      Step 20/33 : COPY scripts/nemoclaw-start.sh /usr/local/bin/nemoclaw-start
       ---> 251c766753eb
      Step 21/33 : RUN chmod +x /usr/local/bin/nemoclaw-start
       ---> Running in 104a63e38e99
       ---> Removed intermediate container 104a63e38e99
       ---> c405de122b16
      Step 22/33 : ARG NEMOCLAW_MODEL=nvidia/nemotron-3-super-120b-a12b
       ---> Running in 1d3909af682b
       ---> Removed intermediate container 1d3909af682b
       ---> e7fadaf1c3fd
      Step 23/33 : ARG CHAT_UI_URL=http://127.0.0.1:18789
       ---> Running in 304290da9f4f
       ---> Removed intermediate container 304290da9f4f
       ---> 78b965d4c790
      Step 24/33 : ARG NEMOCLAW_BUILD_ID=default
       ---> Running in 5faef1d7f5b7
       ---> Removed intermediate container 5faef1d7f5b7
       ---> 1e3badeab79e
      Step 25/33 : WORKDIR /sandbox
       ---> Running in 52d707f6cf0d
       ---> Removed intermediate container 52d707f6cf0d
       ---> b521ef805aec
      Step 26/33 : USER sandbox
       ---> Running in e0cc28fc1ef8
       ---> Removed intermediate container e0cc28fc1ef8
       ---> 1adb8b58f8e1
      Step 27/33 : RUN python3 -c "import json, os, secrets; from urllib.parse import urlparse; model = '${NEMOCLAW_MODEL}'; chat_ui_url = '${CHAT_UI_URL}'; parsed = urlparse(chat_ui_url); chat_origin = f'{parsed.scheme}://{parsed.netloc}' if parsed.scheme and parsed.netloc else 'http://127.0.0.1:18789'; origins = ['http://127.0.0.1:18789']; origins = list(dict.fromkeys(origins + [chat_origin])); config = {     'agents': {'defaults': {'model': {'primary': model}}},     'models': {'mode': 'merge', 'providers': {'nvidia': {         'baseUrl': 'https://inference.local/v1',         'apiKey': 'openshell-managed',         'api': 'openai-completions',         'models': [{'id': model.split('/')[-1], 'name': model, 'reasoning': False, 'input': ['text'], 'cost': {'input': 0, 'output': 0, 'cacheRead': 0, 'cacheWrite': 0}, 'contextWindow': 131072, 'maxTokens': 4096}]     }}},     'gateway': {         'mode': 'local',         'controlUi': {             'allowInsecureAuth': True,             'dangerouslyDisableDeviceAuth': True,             'allowedOrigins': origins,         },         'trustedProxies': ['127.0.0.1', '::1'],         'auth': {'token': secrets.token_hex(32)}     } }; path = os.path.expanduser('~/.openclaw/openclaw.json'); json.dump(config, open(path, 'w'), indent=2); os.chmod(path, 0o600)"
       ---> Running in b500ddbeed39
       ---> Removed intermediate container b500ddbeed39
       ---> 77300e0442bb
      Step 28/33 : RUN openclaw doctor --fix > /dev/null 2>&1 || true     && openclaw plugins install /opt/nemoclaw > /dev/null 2>&1 || true
       ---> Running in f626722ea074
       ---> Removed intermediate container f626722ea074
       ---> e2424396bf2a
      Step 29/33 : USER root
       ---> Running in fbb0e08d42a8
       ---> Removed intermediate container fbb0e08d42a8
       ---> 1f662b0ffce8
      Step 30/33 : RUN chown root:root /sandbox/.openclaw     && find /sandbox/.openclaw -mindepth 1 -maxdepth 1 -exec chown -h root:root {} +     && chmod 1777 /sandbox/.openclaw     && chmod 444 /sandbox/.openclaw/openclaw.json
       ---> Running in 660b16e4ad6b
       ---> Removed intermediate container 660b16e4ad6b
       ---> 6c3ab56b8682
      Step 31/33 : USER sandbox
       ---> Running in 212cd480609f
       ---> Removed intermediate container 212cd480609f
       ---> fd712c7e3d8f
      Step 32/33 : ENTRYPOINT ["/bin/bash"]
       ---> Running in fc6633eb404e
       ---> Removed intermediate container fc6633eb404e
       ---> e0b99640d1e3
      Step 33/33 : CMD []
       ---> Running in 7668755a3c2c
       ---> Removed intermediate container 7668755a3c2c
       ---> d8e8b24a36bb
      Successfully built d8e8b24a36bb
      Successfully tagged openshell/sandbox-from:1774096726
      Built image openshell/sandbox-from:1774096726
      Pushing image openshell/sandbox-from:1774096726 into gateway "nemoclaw"
      [progress] Exported 1923 MiB
    Error:   × failed to upload image tar into container
      ╰─▶ Timeout error
    
    
      Sandbox creation failed (exit 1).
      Try:  openshell sandbox list        # check gateway state
      Try:  nemoclaw onboard              # retry from scratch
    ubuntu@openclaw:~$ 
    
  6. latenighthackathon commented on Jun 24, 2026

    @latenighthackathon
    Collaborator

    Hi @turbolego, thanks for the report. This one has been open a while: 67 releases have shipped since it was filed (we are now on v0.0.67), with onboarding, the sandbox runtime, config generation, and many platform paths reworked along the way. Could you check whether this is still happening for you on the latest version? Cheers!

  7. added
    needs: info
    on Jun 24, 2026
  8. self-assigned this
    on Jun 25, 2026
  9. sandl99 commented on Jun 25, 2026

    @sandl99
    Collaborator

    Closing this as obsolete with the current OpenShell sandbox architecture. The original failure was in the old local k3s image-tar export/upload path (failed to upload image tar into container after exporting a large image). OpenShell has since moved away from that path, as noted in ai-openshell/openshell#485, so this class of large image upload timeout is no longer expected to reproduce on current versions.

    @turbolego, if you have a chance, please try again with the latest nemoclaw and openshell versions. If you still see the same timeout, please reopen with the current nemoclaw --version, openshell --version, host OS, Docker version, and the new onboard output.

  10. added
    area: onboarding
    area: packaging
    on Nov 17, 2026
  11. added theissue type on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: onboardingarea: packagingneeds: infoplatform: ubuntu

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions