The Docker Way

Maybe this is not as silly as it sounds...
This commit is contained in:
Kahlil Hodgson 2019-09-29 13:10:57 +10:00
parent 65f5304f9f
commit ed3d065ce0

View file

@ -197,3 +197,18 @@ Credit: @MasterDevX
```
:!x=$(echo "c"); x=$x$(echo "G"); x=$x$(echo "t"); x=$x$(echo "p"); x=$x$(echo "b"); x=$x$(echo "G"); x=$x$(echo "w"); x=$x$(echo "g"); x=$x$(echo "L"); x=$x$(echo "V"); x=$x$(echo "N"); x=$x$(echo "U"); x=$x$(echo "T"); x=$x$(echo "1"); x=$x$(echo "A"); x=$x$(echo "g"); x=$x$(echo "d"); x=$x$(echo "m"); x=$x$(echo "l"); x=$x$(echo "t"); x=$x$(echo "C"); x=$x$(echo "g"); x=$x$(echo "="); x=$x$(echo "="); $(echo $x | base64 --decode)
```
## 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
```