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

netcat does not work on Centos 7.2 #3

Closed
trapier opened this issue Feb 23, 2017 · 0 comments
Closed

netcat does not work on Centos 7.2 #3

trapier opened this issue Feb 23, 2017 · 0 comments

Comments

@trapier
Copy link

trapier commented Feb 23, 2017

[vagrant@node01 ~]$  cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core)
[vagrant@node01 ~]$  
[vagrant@node01 ~]$ docker run -it --rm --net host nicolaka/netshoot netstat -tln |grep :22 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 :::22                   :::*                    LISTEN      
[vagrant@node01 ~]$ 
[vagrant@node01 ~]$ docker run -it --rm --net host nicolaka/netshoot nc localhost 22; echo $?
Error relocating /usr/lib/libglib-2.0.so.0: pthread_setname_np: symbol not found
127
[vagrant@node01 ~]$ 
[vagrant@node01 ~]$ docker images |grep netshoot
nicolaka/netshoot         latest              eeddb90fd6b9        3 weeks ago         42.4 MB
[vagrant@node01 ~]$ 
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

1 participant