02-10-2025 11:58 PM
HI,
I am trying to run Cisco NSO on Docker. I downloaded the image(nso-6.4-freetrial.container-image-build.linux.x86_64.signed.bin) from Cisco´s website as well as the documentation.
Extract image and run with docker:
docker load -i nso-6.4.container-image-prod.linux.x86_64.tar.gz
According to the documentation: The container starts NSO using the /run-nso.sh script.
When I enter the container and try to run the command ncs_cli -u admin, I get the following error:
Bad configuration: /opt/ncs/ncs-6.4/etc/ncs/ncs.conf:0: Cannot access directory ./state, defined for /ncs-config/state-dir
Daemon died status=21
If I try run ncs, the same error happend.
How to fix this?
Regards,
PP
02-11-2025 01:36 AM
Hi,
You need the production image for that. There should be one named nso-6.4-freetrial.container-image-prod.linux.x86_64 .
BR,
Johan
02-12-2025 08:16 AM
Hi,
For an overview of the build and production images intended use, see the NSO documentation https://cisco-tailf.gitbook.io/nso-docs/guides/administration/installation-and-deployment/containerized-nso#d5e8294
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide