我是docker的新手,还在试图弄清楚我们如何使用onosproject / onos命令行界面。也许,它只发生在我身上……当我尝试从docker使用ONOS CLI时,命令……
我不确定你在哪里尝试cmd。但对我来说它工作正常,你可以试试这个:
sdn@sdn-KVM:~$ docker exec -it onos-docker bash root@be8c8289fe20:~/onos# root@be8c8289fe20:~/onos# root@be8c8289fe20:~/onos# ./bin/onos-client Logging in as karaf 897 [sshd-SshClient[309e345f]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [localhost/127.0.0.1:8101, RSA, a8:58:8b:1b:00:75:cb:78:59:b2:89:69:42:0f:d1:f3] presented unverified {} key: {} Welcome to Open Network Operating System (ONOS)! ____ _ ______ ____ / __ \/ |/ / __ \/ __/ / /_/ / / /_/ /\ \ \____/_/|_/\____/___/ Documentation: wiki.onosproject.org Tutorials: tutorials.onosproject.org Mailing lists: lists.onosproject.org Come help out! Find out how at: contribute.onosproject.org Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown ONOS. onos>