3 ms·
Interesting to see emacs on its lonesome in one of those boxes. How does that work? Emacs client into an exposed port or something else?
by boothead 13y ago
Interesting to see emacs on its lonesome in one of those boxes. How does that work? Emacs client into an exposed port or something else?
- alexk 13y agoIn your .emacs (defun create-docker-terminal (buffer-name) (interactive "sshell name: ") (ansi-term "~/docker/launch.sh") (rename-buffer buffer-name t)) (global-set-key (kbd "C-c d") 'create-docker-terminal) In your launch.sh docker run -u user -i -t -v local-dir:dir-inside-container /bin/bash --rcfile your-rc-file
- boothead 13y agoSo you are just running docker from within emacs rather than the other way round?