$ docker run --rm -it abernier/vim
vimm aliasIn your ~/.bash_profile, add:
vimm() {
docker run --rm -it \
-v $(pwd):/media/host \
-w /media/host
abernier/vim $*
}
then:
$ vimm
You are now running container's vim.
NB:
/media/host folder.Content type
Image
Digest
Size
55 MB
Last updated
over 5 years ago
docker pull abernier/vim