I searched a bit on google but got no useful results.
I'm finishing dockerizing vim
and a common problem showed up: its container just won't share the clipboard with the host.
I am used to building vim with +clipboard
, and to being able to yank text and have it available to the host, or copying text in host and pasting in vim...
I thought about making -v
volumes that would share this data but I still got nowhere.
I'm on Ubuntu 16.10.
The clipboard is almost certainly part of X, so you'll need to give the container access with:
docker run -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix your_image
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With