docker.vim

032eb5910248d5ffd0e0ac3820c45583?s=47 gorilla0513
September 26, 2019

 docker.vim

032eb5910248d5ffd0e0ac3820c45583?s=128

gorilla0513

September 26, 2019
Tweet

Transcript

  1. 3.

    About me Job
 Guardian of Ueno Zoo Hobby
 Developing OSS


    (vim plugins, Go tools) Favorite
 Vim,Go,Docker Authors
 ʮVim͕޷͖ʹͳΔຊʯ
  2. 4.

    About me Job
 Guardian of Ueno Zoo Hobby
 Developing OSS


    (vim plugins, Go tools) Favorite
 Vim,Go,Docker Authors
 ʮVim͕޷͖ʹͳΔຊʯ
  3. 6.
  4. 7.

    Features Images
 ɹ- image list(10 record)
 ɹ- delete
 ɹ- pull


    ɹ- push
 ɹ- search
 ɹ- tag
 ɹ- build
 ɹ- open an image repository on browser (Docker Hub)
 ɹ- save an image to tarball
  5. 8.

    Features Containers
 ɹ- display containers(10 record)
 ɹ- start
 ɹ- stop


    ɹ- restart
 ɹ- kill
 ɹ- delete
 ɹ- attach
 ɹ- run
 ɹ- copy file/folders
 ɹ- monitoring container logs
 ɹ- monitoring container CPU/MEM usage
  6. 10.
  7. 14.

    :DockerContainers ! $ curl --unix-socket /var/run/docker.sock \ -X GET \

    --dump-header {header_file} \ --output {response_body_file} \ http://localhost/containers/json
  8. 15.

    Plugin package • docker/api
 execute curl or cli to call

    docker api • docker/
 defined popup window filter function and parse inputs, call docker/apis • window/
 management popup windows
  9. 16.
  10. 17.

    What you can do with docker cli can also do

    with docker.vim Can operate Docker in parallel with coding That is convenient