There might be the better alternative, but I think the most easy way to do it is to run vi in the terminal (-t) and interactive (-i) options.
$> docker exec -i -t hello-nginx vi /etc/nginx/nginx.conf
There might be the better alternative, but I think the most easy way to do it is to run vi in the terminal (-t) and interactive (-i) options.
$> docker exec -i -t hello-nginx vi /etc/nginx/nginx.conf