AWS SAM local commands check for the existance of DOCKER_HOST. If the variable is not present, it will fail with the following error message
Error: Running AWS SAM projects locally requires Docker. Have you got it installed and running?
Point DOCKER_HOST to unix socket of the Docker Daemon.