All Projects → Silex → Docker.el

Silex / Docker.el

Manage docker from Emacs.

Projects that are alternatives of or similar to Docker.el

Emacs4developers
A document to help developers to use Emacs as a developer
Stars: ✭ 430 (-15.85%)
Mutual labels:  emacs
Helm Dash
Browse Dash docsets inside emacs
Stars: ✭ 455 (-10.96%)
Mutual labels:  emacs
Spacemacs Theme
Light and dark theme for spacemacs that supports GUI and terminal
Stars: ✭ 483 (-5.48%)
Mutual labels:  emacs
Org Roam Server
A Web Application to Visualize the Org-Roam Database
Stars: ✭ 443 (-13.31%)
Mutual labels:  emacs
Vim Practice
💘 Vim is awesome! Here is my practice and study log.
Stars: ✭ 452 (-11.55%)
Mutual labels:  emacs
Quelpa
Build and install your Emacs Lisp packages on-the-fly directly from source
Stars: ✭ 455 (-10.96%)
Mutual labels:  emacs
Emacs Kaolin Themes
Set of eye pleasing themes for GNU Emacs. Supports both GUI and terminal.
Stars: ✭ 421 (-17.61%)
Mutual labels:  emacs
Portacle
A portable common lisp development environment
Stars: ✭ 494 (-3.33%)
Mutual labels:  emacs
Anki Editor
Emacs minor mode for making Anki cards with Org
Stars: ✭ 453 (-11.35%)
Mutual labels:  emacs
Spacemacs Private
My Spacemacs config
Stars: ✭ 480 (-6.07%)
Mutual labels:  emacs
Lsp Java
lsp-mode ❤️ java
Stars: ✭ 446 (-12.72%)
Mutual labels:  emacs
Spacemacs
A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
Stars: ✭ 21,906 (+4186.89%)
Mutual labels:  emacs
Emacs Color Themes
A collection of custom themes for Emacs. All the themes are named after famous programmers.
Stars: ✭ 469 (-8.22%)
Mutual labels:  emacs
Sublimity
Smooth-scrolling and minimap like sublime editor
Stars: ✭ 430 (-15.85%)
Mutual labels:  emacs
Remacs
Rust ❤️ Emacs
Stars: ✭ 4,503 (+781.21%)
Mutual labels:  emacs
Poet
An emacs theme that's well suited for modes using variable pitch: particularly org-mode and markdown-mode.
Stars: ✭ 425 (-16.83%)
Mutual labels:  emacs
Filestash
🦄 A modern web client for SFTP, S3, FTP, WebDAV, Git, Minio, LDAP, CalDAV, CardDAV, Mysql, Backblaze, ...
Stars: ✭ 5,231 (+923.68%)
Mutual labels:  emacs
Prelude
Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
Stars: ✭ 4,735 (+826.61%)
Mutual labels:  emacs
Elsa
Emacs Lisp Static Analyzer
Stars: ✭ 485 (-5.09%)
Mutual labels:  emacs
Emacs 101 Beginner Survival Guide
Emacs 101 新手求生指南 - 一本讓你學 Emacs 不再學得靠北靠母的美好的新手求生指南
Stars: ✭ 472 (-7.63%)
Mutual labels:  emacs

MELPA MELPA Stable

docker.el

Emacs integration for Docker!

Supports docker containers, images, volumes, networks, docker-machine and docker-compose.

Screenshots

List images

Images list

Image run

Image run

Installation

The recommended way to install docker.el is through MELPA.

Here is a example use-package configuration:

(use-package docker
  :ensure t
  :bind ("C-c d" . docker))

Quickstart

Use M-x docker, select a resource then then mark or unmark items using the following keybindings (for more marking possibilities, check out https://github.com/politza/tablist):

Binding Description
? List actions
l Configure listing
m Mark item
u Unmark item
t Toggle marks
U Unmark all
s Sort
* r Mark items by regexp
< Shrink column
> Enlarge column
C-c C-e Export to csv

Then select an action and follow the instructions.

Supported commands

  • docker container: attach, cp, diff, inspect, kill, logs, pause, rename, restart, rm, start, stop, unpause
  • docker image: inspect, pull, push, rm, run, tag
  • docker network: rm
  • docker volume: rm
  • docker-machine: create, env, restart, rm, start, stop
  • docker-compose: build, config, create, down, exec, logs, pull, push, remove, restart, run, start, stop, up

You can also enter dired or open a file inside a container or volume.

Customizations

Thanks to transient, all the transients arguments can be set temporarily or permanently. See https://magit.vc/manual/transient/Saving-Values.html#Saving-Values for more information.

There are also hidden items (e.g on M-x docker where you could specify the host or TLS settings), see https://magit.vc/manual/transient/Enabling-and-Disabling-Suffixes.html for more information.

Here is a list of other customizations you can set:

Variable Description Default
docker-command The docker binary to use docker
docker-container-default-sort-key Sort key for docker containers ("Image")
docker-container-shell-file-name Shell to use when entering containers /bin/sh
docker-image-default-sort-key Sort key for docker images ("Repository")
docker-machine-default-sort-key Sort key for docker machines ("Name")
docker-network-default-sort-key Sort key for docker networks ("Name")
docker-run-as-root Run docker as root nil
docker-volume-default-sort-key Sort key for docker volumes ("Driver")

FAQ

How to use docker-machine under OSX / MacOS?

The following configuration is required (some of it can probably be simplified by using https://github.com/purcell/exec-path-from-shell).

(setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
(setq exec-path (append exec-path '("/usr/local/bin")))
;; Use "docker-machine env box" command to find out your environment variables
(setenv "DOCKER_TLS_VERIFY" "1")
(setenv "DOCKER_HOST" "tcp://10.11.12.13:2376")
(setenv "DOCKER_CERT_PATH" "/Users/foo/.docker/machine/machines/box")
(setenv "DOCKER_MACHINE_NAME" "box")

This is necessary and useful if you use docker-machine. Notice though that there is also a native MacOS Docker implementation (now called Docker Desktop) which does not depend on VirtualBox and which does not require these tweaks.

Contributions

They are very welcome, either as suggestions or as pull requests by opening tickets on the issue tracker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].