I'm the other one who rejected your suggested edit.
In my opinion:
The first part of your edit was unnecessary, because the answer clearly states:
The following commands were run in the container
And $
is just a sign that we use to show a comamnd, so muru's edit was fine to me.
For the second part you're somehowsomewhat right (about the concept of not using sudo
), however the sudo
was part of the original answer, and also it was too minor to me.
I regectedrejected your edit mostly because of the first part.