myhosts not working, what am I doing wrong?
So, I made a myhosts file according to the directions as shown here, located at /user/myhosts.txt
As shown in the directions, I'm supposed to add -v "path/to/myhosts:/hosts/myhosts" before ghcr.io/stevenblack/hosts:latest.
SO after a bunch of errors I figured the command was supposed to look like one of the following, but neither of them work.
sudo docker run --pull always --rm -it -v /etc/hosts:/etc/hosts /user/myhosts ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto --replace --extensions social porn
or
sudo docker run --pull always --rm -it -v /etc/hosts:/etc/hosts -v /user/myhosts:/hosts/myhosts" ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto --replace --extensions social porn
both fail to add it to my host file. Clearly, I am doing something wrong, but it's not remotely clear WHAT. I'm not very commandline savvy, but how is this not EXACTLY what you wrote in the directions?
When you tell me what the error is, please don't just TELL me, give me the full corrected command, so it's CRYSTAL clear to my dumb ass what's wrong. I need you to assume I don't know a single thing about the commandline (because I don't other than sudo whatever lets me download stuff and even then I always forget what that is for fedora.) If you just tell me what's wrong without the command, I'll probably not have any idea what that means or implement it wrong. It wasn't even clear that I needed to add SUDO to the beginning, because you forgot to include it (or maybe it's just how I installed it and it's possible that you can use this command without SUDO, which is silly, because of COURSE I need sudo to change the host file, but I didn't think about that, because I was just copying what you wrote.)
I've spent hours troubleshooting this.