So, this says a lot about my current job.. But I found it useful and maybe you will to. If you find you can’t use your home/end/insert/delete/pgup/pgdn keys in vim in docker when on a remote server with putty, then have I got the fix for you!
Just add this to your ~/.vimrc:
To get the right control character, just type ctrl-v and hit the key.