Use the following command:
docker run -p 60000:60000 -v C:\Utils\Opserver-main\Config:/app/Config --rm -it (docker build -q .)
Your command only works in WSL or Git Bash, but not in Command Prompt or PowerShell.
Explanation: Use PowerShell ()
syntax instead of $()