Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. 363292a98545 scivm/nginx-django-scivmcom:latest /usr/bin/supervisord 12 days ago Ghost 0.0.0.0:40001->22/tcp, 88.198.57.112:443->443/tcp, 88.198.57.112:80->80/tcp lonely_feynmann
  2.  
  3. b38c8ef72d0a mazzolino/strider-dind:latest wrapdocker /usr/bin/ 41 minutes ago Up 41 minutes 0.0.0.0:3000->3000/tcp, 22/tcp, 27017/tcp distracted_einstein
  4.  
  5. root@Ubuntu-1204-precise-64-minimal /var/run # iptables -L
  6. Chain INPUT (policy ACCEPT) target prot opt source destination
  7. ACCEPT all -- anywhere anywhere
  8. ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
  9. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
  10. ACCEPT tcp -- anywhere anywhere tcp dpt:http
  11. ACCEPT tcp -- anywhere anywhere tcp dpt:https
  12. ACCEPT tcp -- anywhere anywhere tcp dpt:8000
  13. DROP all -- anywhere anywhere
  14.  
  15. Chain FORWARD (policy ACCEPT)
  16. target prot opt source destination
  17. ACCEPT all -- anywhere anywhere
  18. ACCEPT all -- anywhere anywhere
  19. ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
  20.  
  21. Chain OUTPUT (policy ACCEPT)
  22. target prot opt source destination
  23.  
  24. sudo docker run -d --name db training/postgres
  25.  
  26. sudo docker run -d -P --name web --link db:db training/webapp python app.py
  27.  
  28. sudo docker run --name web --link db:db training/webapp ping db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement