Docker

From WikEmacs
Revision as of 09:52, 17 June 2015 by 46.140.125.126 (talk)
Jump to navigation Jump to search


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. Same for M-x docker-containers, check the documentation.