I'm really stuck and hope someone can help. I'm switching my development & production to Docker. I've gone through the Magento setup wizard and I see the default demo store page. The problem is I can't login to the admin backend. Even though I enter the correct username and password, it redirects me back to the login page again with no errors.
I've done a bajillion Google searches and have tried all of the recommendations with no luck. Here are a few I've tried.
I'm sure I've done more, but can't recall that now. Please let me know what I'm missing! Thanks!
all you hve to do is to check if session is written and you have correct cookie...
There are files under var/session and var/cache. There are cookies when I go to the site, which I'm assuming are all of the ones necessary.
I tried putting index.php/admin with same result.
It's brand new install, so no cache should need to be cleared. However, with each test, I did rm -rf var/cache/* var/sessions/*