On Linux i used to fire this command
docker logs wp-mysql 2>&1 | grep "ready for connections" However, I wish to search for the string on Windows
I tried the below two attempts but it shows not just the searched lines but also a few extra lines which I do not need.
docker logs wp-mysql 2>&1 | findstr "ready for connections" and
docker logs wp-mysql 2> >(findstr 'ready for connections') Can you please suggest a grep alternative for searching string in docker logs on Windows please?