Open skywinder opened 4 years ago
I'd recommend using the cat - > location/to/file.conf
to make edits, but keep in mind that whatever you write there will overwrite the content of the file. So it's best to run cat location/to/file.conf
before, copy the entire content, make edits outside of the terminal, and rerun the cat -
command then paste the entire thing. You need to press Ctrl + D
after pasting the code to store the changes.
docker run --device=/dev/vchiq --device=/dev/vcsm --volume=/opt/vc:/opt/vc --volume=/boot:/boot --volume=/sys:/dockerhost/sys:ro --volume=/etc:/dockerhost/etc:ro --volume=/proc:/dockerhost/proc:ro --volume=/usr/lib:/dockerhost/usr/lib:ro -p=8888:8888 --name="rpi-monitor" -d michaelmiklis/rpi-monitor:latest
I attached to docker via:
docker exec -it XXX /bin/bash
then I found that there is no text editor inside. So how and where should I edit config file?