Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 19:44:15 homebox:~ λ docker run -d --name=folexamamka debian:stretch-slim sleep 9999
- 87a46935c52beecc47f1644cf17805022acddc247b171fd109418389e6ed92d8
- 19:44:26 homebox:~ λ docker cp /bin/netstat folexamamka:/tmp/
- 19:44:32 homebox:~ λ docker exec -ti folexamamka bash
- root@87a46935c52b:/# apt-get update &>/dev/null
- root@87a46935c52b:/# apt-get install nginx -y &>/dev/null
- root@87a46935c52b:/# /tmp/netstat -plunt
- Active Internet connections (only servers)
- Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
- root@87a46935c52b:/# nginx
- root@87a46935c52b:/# /tmp/netstat -plunt
- Active Internet connections (only servers)
- Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
- tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1025/nginx: master
- tcp6 0 0 :::80 :::* LISTEN 1025/nginx: master
- root@87a46935c52b:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement