Advertisement
Guest User

Untitled

a guest
Apr 21st, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. sudo docker run ubuntu apt-get install ping
  2.  
  3. $ sudo docker run ubuntu apt-get install ping
  4. Reading package lists...
  5. Building dependency tree...
  6. Package ping is a virtual package provided by:
  7. inetutils-ping 2:1.8-6
  8. iputils-ping 3:20101006-1ubuntu1
  9.  
  10. E: Package 'ping' has no installation candidate
  11. $
  12.  
  13. REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
  14. <none> <none> 3a28cc5bcc53 19 minutes ago 247.6 MB
  15. baselDaemon latest 4e892058b0b2 4 days ago 204.4 MB
  16. ubuntu 13.10 9f676bd305a4 2 weeks ago 178 MB
  17. ubuntu saucy 9f676bd305a4 2 weeks ago 178 MB
  18. ubuntu 13.04 eb601b8965b8 2 weeks ago 166.5 MB
  19. ubuntu raring eb601b8965b8 2 weeks ago 166.5 MB
  20. ubuntu 12.10 5ac751e8d623 2 weeks ago 161 MB
  21. ubuntu quantal 5ac751e8d623 2 weeks ago 161 MB
  22. ubuntu 10.04 9cc9ea5ea540 2 weeks ago 180.8 MB
  23. ubuntu lucid 9cc9ea5ea540 2 weeks ago 180.8 MB
  24. ubuntu 12.04 9cd978db300e 2 weeks ago 204.4 MB
  25. ubuntu latest 9cd978db300e 2 weeks ago 204.4 MB
  26. ubuntu precise 9cd978db300e 2 weeks ago 204.4 MB
  27. learn/tutorial latest 8dbd9e392a96 10 months ago 128 MB
  28.  
  29. Package ping is a virtual package provided by:
  30. inetutils-ping 2:1.8-6
  31. iputils-ping 3:20101006-1ubuntu1
  32.  
  33. E: Package 'ping' has no installation candidate
  34.  
  35. sudo docker run ubuntu apt-get install iputils-ping
  36.  
  37. sudo docker run ubuntu:lucid command
  38.  
  39. sudo docker run ubuntu apt-get update
  40.  
  41. docker run -i -t ubuntu:16.04 /bin/bash
  42.  
  43. apt-get update
  44.  
  45. apt-get install iputils-ping
  46.  
  47. which ping
  48. ping superuser.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement