When comparing Docker vs GVim, the Slant community recommends GVim for most people. In the question“What are the best power user tools for Windows?” GVim is ranked 28th while Docker is ranked 43rd. The most important reason people chose GVim is:
When opening files from the file manager, it is still nice to have vim.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Allows for portable application deployment
Docker creates a single object, containing an application with its dependencies, that can be moved between any docker-enabled machines, guaranteeing the same environment for application execution.
Pro Git-like capabilities
Docker tracks changes in systems. It allows for commits and rollbacks and for quick deployment due to having to deploy only the updated code.
Pro Allows re-using components
Docker essentially allows creating boilerplate systems (a LAMP stack, for example) that can be used as a starting point on multiple projects. And you can find multiple such containers already created by people in their public registry.
Pro Automatic build
Allows automatically assembling a container from its source code.
Pro Provides easy sharing and installation of containers through a public registry
Docker allows easily pushing and pulling containers to and from their public index.docker.io registry. Additionally, dotCloud maintains a list of official repositories of the more popular containers.
Pro Application-centric
Pro Works in virtualized environments
You can set up Docker within an already virtualized environment such as a virtual machine. This allows you to run Docker on Mac and Windows, among other use-cases.
Pro Low overhead
Pro Supports a wide range of isolation tools
Docker can be used with OpenVZ, systemd-nspawn, libvirt-lxc, libvirt-sandbox, qemu/kvm, BSD Jails, Solaris Zones, and chroot.
Pro Tool ecosystem
Pro Vim without a shell
When opening files from the file manager, it is still nice to have vim.
Pro Excellent performance
Because it loads the whole file into RAM, replacing all string occurences in 100MB+ files is quick and easy. Every other editor sort of died during that.
Pro Works on all platforms
Whether its your windows machine, a Linux, Unix or a Mac Vim would work everywhere. You can even build it from its source on your favorite linux environment.
Pro Has different cursor shape in command and insert modes
Unlike vim, gvim has different cursor shape in command and insert mode, which is very convenient.
Pro Supports all vim features and settings
All vim features, custom settings, and plugins are automatically available.
Cons
Con Large image size
Con Security concerns
Con Kernel OS fragmentation
Con GVim, like Vim, has a difficult learning curve
A lot of time is needed to learn all the commands and modes supported. A lot of time will also be spent tuning all the settings to the user's preference.