You could make such a script for Linux, but it would need to be altered. The script I posted here is based on opening the Docker Desktop app via the command line. On Linux, you'd probably just want to start or stop the daemon (systemctl start docker and systemctl stop docker). The flush command might work out of the box, especially if you're running Zsh on your Linux machine.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You could make such a script for Linux, but it would need to be altered. The script I posted here is based on opening the Docker Desktop app via the command line. On Linux, you'd probably just want to start or stop the daemon (
systemctl start dockerandsystemctl stop docker). The flush command might work out of the box, especially if you're running Zsh on your Linux machine.