spacemacs/layers/+tools/dockerfile
syl20bnr 79c8dc1084 dockerfile: various changes
README
- rewrite paragraph on docker-tramp
- sort key bindings
- adapt the file to last good practices

packages.el
- sort packages
- sort key bindings
- remove :commands
- move evilification to config
2016-06-09 23:49:34 -04:00
..
img Add docker-tramp and docker.el 2016-06-09 23:29:20 -04:00
packages.el dockerfile: various changes 2016-06-09 23:49:34 -04:00
README.org dockerfile: various changes 2016-06-09 23:49:34 -04:00

Dockerfile contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/79c8dc108481c3f68b592c7b065eaad59f1de5bf/layers/+tools/dockerfile/img/docker.png

Description

This layer provides syntax highlighting and build functionality for Docker files as well as TRAMP access to running docker containers.

It also includes basic Docker container and image management provided by docker.el.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add docker to the existing dotspacemacs-configuration-layers list in this file.

TRAMP access to docker containers

This relies on the docker-tramp package which uses docker exec available in docker versions > 1.3.

docker-tramp adds a new prefix /docker: that you can use with SPC f f, this prefix allows to acces your docker containers and also provides auto-completion of the running containers.

Key bindings

Key Binding Description
SPC m c b build current buffer via dockerfile-build-buffer
SPC D c list docker containers
SPC D d delete image
SPC D e unpause container
SPC D F pull image
SPC D i list docker images
SPC D k delete container
SPC D o stop container
SPC D p pause container
SPC D P push image
SPC D r restart container
SPC D s start container