mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 19:26:41 +02:00
Merge pull request #102 from KabirKwatra/patch-1
Docker and Kubernetes image names and CLI options
This commit is contained in:
commit
d2490215ea
1 changed files with 2 additions and 2 deletions
|
@ -233,7 +233,7 @@ Credit: @tartansandal
|
|||
If you run Vim in a docker container like:
|
||||
|
||||
```bash
|
||||
docker run --rm -it --name my-vim -v `pwd`:/root thinkca/vim
|
||||
docker run --name my-vim -v `pwd`:/root thinca/vim
|
||||
```
|
||||
|
||||
then you would normally exit vim by stopping the associated container:
|
||||
|
@ -286,7 +286,7 @@ Credit: @Evalle
|
|||
If you run Vim in Kubernetes pod like:
|
||||
|
||||
```bash
|
||||
kubectl run --generator=run-pod/v1 --rm -it my-vim --image=thinkca/vim
|
||||
kubectl run --generator=run-pod/v1 my-vim --image=thinca/vim
|
||||
```
|
||||
|
||||
then you would normally exit Vim by deleting the associated Kubernetes pod:
|
||||
|
|
Loading…
Add table
Reference in a new issue