Skip to content

Instantly share code, notes, and snippets.

@lucazz
Created May 31, 2018 13:09
Show Gist options
  • Save lucazz/606c6e3bfe8c4bfe5475e7729214884c to your computer and use it in GitHub Desktop.
Save lucazz/606c6e3bfe8c4bfe5475e7729214884c to your computer and use it in GitHub Desktop.
ubuntu@ip-10-33-29-52:~$ sudo docker run alpine ping -c 5 8.8.8.8
sudo: unable to resolve host ip-10-33-29-52
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
ff3a5c916c92: Already exists
Digest: sha256:7df6db5aa61ae9480f52f0b3a06a140ab98d427f86d8d5de0bedab9b8df6b1c0
Status: Downloaded newer image for alpine:latest
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=49 time=1.344 ms
64 bytes from 8.8.8.8: seq=1 ttl=49 time=0.690 ms
64 bytes from 8.8.8.8: seq=2 ttl=49 time=0.608 ms
64 bytes from 8.8.8.8: seq=3 ttl=49 time=0.709 ms
64 bytes from 8.8.8.8: seq=4 ttl=49 time=0.613 ms
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.608/0.792/1.344 ms
ubuntu@ip-10-33-29-52:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment