sudo docker exec -ti -u root 容器id /bin/bash
依次执行 apt-get update apt-get install -y vim
vim /etc/nginx/nginx.conf