Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Docker volume

488 views

Published on

Using docker volume

Published in: Technology
  • Be the first to comment

Docker volume

  1. 1. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 1/9 Using docker volume OpenContainer Korea 2016 26 March 2016 anarcher
  2. 2. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 2/9 Docker volume command $dockervolume Usage: dockervolume[OPTIONS][COMMAND] ManageDockervolumes Commands: create Createavolume inspect Returnlow-levelinformationonavolume ls Listvolumes rm Removeavolume docker volume을 관리할수 있는 interface가 추가되었음 (docker 1.9)
  3. 3. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 3/9 Using docker 1.9 volume command $dockervolumecreate--name=scribe_conf scribe_conf $dockervolumels DRIVER VOLUMENAME local scribe_conf $dockervolumeinspectscribe_conf [ { "Name":"scribe_conf", "Driver":"local", "Mountpoint":"/var/lib/docker/volumes/scribe_conf/_data" } ] $dockervolumermscribe_conf scribe_conf $dockervolumels DRIVER VOLUMENAME
  4. 4. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 4/9 Using docker volume $dockerrun--net=host-vscribe_conf:/etc/scribeanarcher/scribe
  5. 5. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 5/9 Deployment with docker volume $dockerrun-it--rm-vscribe_conf:/confanarcher/scribe_conf:0.1 $dockerrun-it--rm--net=hostanarcher/scribe_ctrlreload docker-compose version 2 에서 docker volume interface을 제공한다
  6. 6. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 6/9 Volume plugin driver $dockerrun-ti-vvolumename:/data--volume-driver=flocker busyboxsh $dockervolumecreate-h Usage: dockervolumecreate[OPTIONS] Createavolume -d,--driver=local Specifyvolumedrivername --help Printusage --name Specifyvolumename -o,--opt=map[] Setdriverspecificoptions
  7. 7. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 7/9 Volume plugins https://docs.docker.com/engine/extend/plugins/ Rexray : https://github.com/emccode/rexray Convey : https://github.com/rancher/convoy Flocker : https://github.com/ClusterHQ/ ocker
  8. 8. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 8/9 Thank you anarcher anarcher@gmail.com(mailto:anarcher@gmail.com)
  9. 9. 3/20/2016 Using docker volume http://localhost:3999/docker-volume.slide#7 9/9

×