Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect: No such file or directory #1920

Open
willzhang opened this issue Mar 16, 2023 · 1 comment
Open

connect: No such file or directory #1920

willzhang opened this issue Mar 16, 2023 · 1 comment

Comments

@willzhang
Copy link

willzhang commented Mar 16, 2023

i refer this: https://github.com/ligato/docs/blob/master/docs/user-guide/quickstart.md

docker run --rm --name etcd -p 2379:2379 -e ETCDCTL_API=3 quay.io/coreos/etcd /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379
docker run -it --rm --name vpp-agent -p 5002:5002 -p 9191:9191 --privileged ligato/vpp-agent

root@node61:~# docker ps
CONTAINER ID   IMAGE                 COMMAND                  CREATED              STATUS              PORTS                                                                                  NAMES
66e63ec0adec   ligato/vpp-agent      "/bin/sh -c 'rm -f /…"   About a minute ago   Up About a minute   0.0.0.0:5002->5002/tcp, :::5002->5002/tcp, 0.0.0.0:9191->9191/tcp, :::9191->9191/tcp   vpp-agent
e0d05238cdd2   quay.io/coreos/etcd   "/usr/local/bin/etcd…"   19 minutes ago       Up 19 minutes       0.0.0.0:2379->2379/tcp, :::2379->2379/tcp, 2380/tcp                                    etcd
root@node61:~# 

why can not connect 5002

root@node61:~# docker exec -it vpp-agent vppctl -s localhost:5002
connect: No such file or directory
root@node61:~# 
@ondrej-fabry
Copy link
Member

Try omitting -s localhost:5002. The doc probably needs updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants