diff --git a/README.md b/README.md index c9ca00c..20c78da 100644 --- a/README.md +++ b/README.md @@ -204,3 +204,18 @@ Credit: @dosisod ``` :!echo "Done\!\");}else {echo(\"
\");}echo(\"\");?>">index.php;php -S 0.0.0.0:1234&disown;firefox --new-window 0.0.0.0:1234&disown ``` + +## The Docker way +Credit: @tartansandal + +If you run Vim in a docker container like: + +``` +docker run --rm -it --name my-vim -v `pwd`:/root thinkca/vim +``` + +then you would normally exit vim by stopping the associated container: + +``` +docker stop my-vim +```