Difference between revisions of "Docker"

From WikEmacs
Jump to navigation Jump to search
(docker utils)
 
Line 10: Line 10:
  
 
For that you'll want [https://github.com/Silex/docker.el docker.el] (in MELPA too). It defines a docker-images major mode to manipulate docker images: call it with '''M-x docker-images''' and use the keys: '''D'''elete, '''F'''etch (pull), '''R'''un, '''P'''ush and the same with containers.
 
For that you'll want [https://github.com/Silex/docker.el docker.el] (in MELPA too). It defines a docker-images major mode to manipulate docker images: call it with '''M-x docker-images''' and use the keys: '''D'''elete, '''F'''etch (pull), '''R'''un, '''P'''ush and the same with containers.
 +
 +
Silex: I'm the author of the above docker.el, it'll soon feature documentation & everything, just be a little patient :)
  
 
[[Category:Programming]]
 
[[Category:Programming]]

Revision as of 20:38, 16 June 2015


In the emacs world we have some packages to work with Docker.

Syntax highlighting

This is possible with dockerfile-mode (in MELPA). It also offers the ability to build the image directly (C-c C-b) from the buffer.

Manipulating images and containers

For that you'll want docker.el (in MELPA too). It defines a docker-images major mode to manipulate docker images: call it with M-x docker-images and use the keys: Delete, Fetch (pull), Run, Push and the same with containers.

Silex: I'm the author of the above docker.el, it'll soon feature documentation & everything, just be a little patient :)