There are no environment variables that need to be set.
It sounds like you might have some set, or an alias, or an old hash, maybe look at env | grep DOCKER to see if you have any variables set, try unalias docker and hash -d docker to see if that helps.