This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/docker
syl20bnr 3cb9fea0ff Reset useful and useless buffers to empty lists
I feel like we should start from scratch on this one and carefully choose the
defaults.

Also this settings is a very personal setting so if we make some buffers
useless we must have a consensus on it. Marking all special buffers starting
with `*` as useless is too aggressive and make Spacemacs less POLA since two
consecutive press on SPC TAB may not revert to the original buffer.
2018-01-10 10:59:15 -05:00
..
img
packages.el Reset useful and useless buffers to empty lists 2018-01-10 10:59:15 -05:00
README.org docker: update key bindings in README.org 2018-01-09 01:30:07 -05:00

Docker layer

/TakeV/spacemacs/media/commit/600421eb49758cd99dd925f5855b2e68ba13f8b2/layers/+tools/docker/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.

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