13
1

When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

   

1  

Page 2: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

2  

Page 3: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

When  I  say  Unit  of  Isola2on,  I  mean  –  rather  than  having  100  separate  virtual  machines,  why  not  have  10  virtual  machines  running  10  containers?  If  most  of  your  virtual  machines  run  at  1%  u2lisa2on,  then  Docker  could  reduce  your  VM  bills.  

3  

Page 4: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

Image  taken  from  hHps://docs.docker.com/terms/image/  which  describes  the  layering  approach    

4  

Page 5: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

5  

Page 6: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

If  you  exit  your  container  without  commiNng  the  changes,  the  changes  are  lost.  Not  a  bad  thing  if  you  want  a  fast  restore  to  a  known  state!  

6  

Page 7: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

7  

Page 8: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

If  you’ve  previously  used  a  Brew  version,  I  suggest  you  “boot2docker  delete”,  then  brew  unlink  boot2docker  and  docker.  

8  

Page 9: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

9  

Page 10: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

10  

Page 11: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

11  

Page 12: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

Google  Compute  Engine  support  -­‐  hHps://developers.google.com/compute/docs/containers#container-­‐op2mized_google_compute_engine_images  Amazon  EC2  Docker  Release  Candidates  -­‐  hHp://aws.amazon.com/amazon-­‐linux-­‐ami/2014.03-­‐release-­‐notes/  Google  Cloud  Placorm  releases  tools  -­‐  hHp://googlecloudplacorm.blogspot.co.uk/2014/06/an-­‐update-­‐on-­‐container-­‐support-­‐on-­‐google-­‐cloud-­‐placorm.html  Private  Docker  Repository  -­‐  hHps://blog.codecentric.de/en/2014/02/docker-­‐registry-­‐run-­‐private-­‐docker-­‐image-­‐repository/      

12  

Page 13: When!Isay!Unitof!Isolaon,!Imean!–rather!than!having!100 ...€¦ · docker\registry\run\private\docker\image\repository/!!! 12. 13. An Introduction to Docker Coffee And Code, 14th

13