cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
336
Views
2
Helpful
2
Replies

Error on run nso 6.4 docker (trial)

paulohperes
Level 1
Level 1

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

docker run -itd --name cisco-nso -v NSO-vol:/nso -v NSO-log-vol:/log --net=host -e ADMIN_USERNAME=admin -e ADMIN_PASSWORD=admin cisco-nso-prod:6.4

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

 

 

2 Replies 2

jvikman
Cisco Employee
Cisco Employee

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

cohult
Cisco Employee
Cisco Employee

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