I'm having trouble figuring out how to edit
nginx.conf inside NGINX open source Docker container.
I'm trying to follow the directions here:
I've gotten through all 4 steps succcessfully. I have SSH access using the helper
This part confuses me, though:
- the /bin/bash argument means that the bash shell runs in the helper container, presenting a shell prompt that you can use to modify files as needed
This sounds good! Unfortunately, I don't see any way I can modify
nginx.conf. There's no text editor that I can see. I don't see
emacs or anything else. (I searched through all 4 'bin' directories, and
find didn't turn up anything for
vi.) I tried to install
apt-get but was unsuccessful. I even tried ubuntu instead of debian, but even with ubuntu there is no text editor. I thought vi is standard on all Linux distributions. I don't know what's up, but I feel like I'm missing something big here. Any help greatly appreciated.