Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 2.09 KB

README.org

File metadata and controls

48 lines (39 loc) · 2.09 KB

Docker layer

img/docker.png

Table of Contents

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.

Usage

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 BindingDescription
SPC m c bbuild current buffer via dockerfile-build-buffer
SPC D clist docker containers
SPC D ddelete image
SPC D eunpause container
SPC D Fpull image
SPC D ilist docker images
SPC D kdelete container
SPC D ostop container
SPC D ppause container
SPC D Ppush image
SPC D rrestart container
SPC D sstart container