Skip to content

[Ubuntu 24.04][CLI] nemoclaw hosts-list fails with Docker unknown shorthand flag #4317

@zNeill

Description

@zNeill

Description

Description

DevTest template 6065112 failed on the hosts lifecycle commands. nemoclaw my-assistant hosts-list and the related hosts-add / hosts-remove paths fail before they can read or patch host aliases, returning a Docker CLI parse error instead of the expected host-alias output.Environment

Device: ipp2-0296
OS: Ubuntu 24.04.4 LTS (Linux 6.17.0-23-generic)
Architecture: x86_64
Node.js: v22.22.3
npm: 10.9.8
Docker: Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
OpenShell CLI: openshell 0.0.44
NemoClaw: nemoclaw v0.0.52
OpenClaw: OpenClaw v2026.5.22Steps to Reproduce

  1. Install NemoClaw v0.0.52 on Ubuntu 24.04 and onboard a sandbox named my-assistant.
  2. Verify the sandbox is Ready:
    nemoclaw my-assistant status
  3. Run the host-alias baseline command:
    nemoclaw my-assistant hosts-list
  4. Run any host-alias mutation command, for example:
    nemoclaw my-assistant hosts-add searxng.local 192.168.1.105Expected Result

hosts-list exits 0 and prints No host aliases configured for 'my-assistant'. when no aliases exist.
hosts-add exits 0 and adds the requested alias, and follow-up hosts-list shows the new entry.
Validation failures should return NemoClaw CLI validation errors without mutating hostAliases.Actual Result

hosts-list, hosts-add, and hosts-remove all fail with exit code 125 before the host-alias lifecycle can run:

Failed to read host aliases. unknown shorthand flag: 'n' in -n

Usage: docker [OPTIONS] COMMAND [ARG...]

Run 'docker --help' for more informationLogs

Excerpt:

baseline

Failed to read host aliases. unknown shorthand flag: 'n' in -n

Usage: docker [OPTIONS] COMMAND [ARG...]

Run 'docker --help' for more information
RC0=125

add searx

Failed to read host aliases. unknown shorthand flag: 'n' in -n

Usage: docker [OPTIONS] COMMAND [ARG...]

Run 'docker --help' for more information
RC1=125

dry add

Failed to read host aliases. unknown shorthand flag: 'n' in -n

Usage: docker [OPTIONS] COMMAND [ARG...]

Run 'docker --help' for more information
RC9=125

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NemoClaw_Automation, NemoClaw_CLI&UX, NEMOCLAW_GH_SYNC_APPROVAL

[NVB#6229708]

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA Teamarea: cliCommand line interface, flags, terminal UX, or outputarea: packagingPackages, images, registries, installers, or distributionplatform: containerAffects Docker, containerd, Podman, or imagesplatform: ubuntuAffects Ubuntu Linux environmentsv0.0.59Release target

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions