Tools for working with docker and docker-compose locally
![Container Selector](/preview.gif?raw=true “Helm container selection”)
Contributing ==
Consider putting this pre commit hook to run the tests before placing a PR. You will need drone-cli to run these locally.
Add your own testing command, or add extra functionality to any popup
(magit-define-popup-action 'docker-tests-popup ?w "testing" (dc-call-compose-ps))
(message "%s" finder-known-keywords)
(add-to-list 'load-path "~/.emacs/dc/")
(load "dc-popups")
Set spacemacs launcher keys
(evil-leader/set-key "d" 'dc-popups-docker-compose)
(evil-leader/set-key "D" 'dc-popups-docker)
(dc-popups-compose-names)
(dc-popups-docker-run-return "" "config" "--services" "")
List of detected containers
(dc-popups-docker-names)
Select a container, and store result in dc-popups-current-docker-container
(setq dc-popups-current-docker-container (completing-read "Select container:" (dc-popups-docker-names)))