-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[Ubuntu 24.04][CLI] nemoclaw hosts-list fails with Docker unknown shorthand flag #4317
Copy link
Copy link
Closed
Copy link
Labels
NV QABugs found by the NVIDIA QA TeamBugs found by the NVIDIA QA Teamarea: cliCommand line interface, flags, terminal UX, or outputCommand line interface, flags, terminal UX, or outputarea: packagingPackages, images, registries, installers, or distributionPackages, images, registries, installers, or distributionplatform: containerAffects Docker, containerd, Podman, or imagesAffects Docker, containerd, Podman, or imagesplatform: ubuntuAffects Ubuntu Linux environmentsAffects Ubuntu Linux environmentsv0.0.59Release targetRelease target
Metadata
Metadata
Assignees
Labels
NV QABugs found by the NVIDIA QA TeamBugs found by the NVIDIA QA Teamarea: cliCommand line interface, flags, terminal UX, or outputCommand line interface, flags, terminal UX, or outputarea: packagingPackages, images, registries, installers, or distributionPackages, images, registries, installers, or distributionplatform: containerAffects Docker, containerd, Podman, or imagesAffects Docker, containerd, Podman, or imagesplatform: ubuntuAffects Ubuntu Linux environmentsAffects Ubuntu Linux environmentsv0.0.59Release targetRelease target
Type
Fields
Give feedbackNo fields configured for Bug.
Description
Description
DevTest template 6065112 failed on the hosts lifecycle commands.
nemoclaw my-assistant hosts-listand the relatedhosts-add/hosts-removepaths fail before they can read or patch host aliases, returning a Docker CLI parse error instead of the expected host-alias output.EnvironmentDevice: 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
my-assistant.nemoclaw my-assistant status
nemoclaw my-assistant hosts-list
nemoclaw my-assistant hosts-add searxng.local 192.168.1.105Expected Result
hosts-listexits 0 and printsNo host aliases configured for 'my-assistant'.when no aliases exist.hosts-addexits 0 and adds the requested alias, and follow-uphosts-listshows the new entry.Validation failures should return NemoClaw CLI validation errors without mutating hostAliases.Actual Result
hosts-list,hosts-add, andhosts-removeall 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
[NVB#6229708]