Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- 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
- root@Ubuntu-1204-precise-64-minimal /var/run # iptables -L
- Chain INPUT (policy ACCEPT) target prot opt source destination
- ACCEPT all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
- ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
- ACCEPT tcp -- anywhere anywhere tcp dpt:http
- ACCEPT tcp -- anywhere anywhere tcp dpt:https
- ACCEPT tcp -- anywhere anywhere tcp dpt:8000
- DROP all -- anywhere anywhere
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- ACCEPT all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- sudo docker run -d --name db training/postgres
- sudo docker run -d -P --name web --link db:db training/webapp python app.py
- sudo docker run --name web --link db:db training/webapp ping db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement