Docker not found! Please install it

I am running serverless deploy and am getting the following error message:

docker not found! Please install it.

I am running on macOS 10.14.6. Core services are installed with Homebrew. I am using Pipenv and Pyenv.

In the past, I have solved this problem with “eval $(docker-machine env default)” No such luck this time.

Here is more troubleshooting information:

Docker is running:

(keyword-exporter) bash-3.2$ docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER     ERRORS
default   *        virtualbox   Running   tcp://           v19.03.1

Environment variables are set:

declare -x DOCKER_CERT_PATH="/Users/me/.docker/machine/machines/default"
declare -x DOCKER_HOST=“tcp://”
declare -x DOCKER_MACHINE_NAME=“default”
declare -x DOCKER_TLS_VERIFY=“1”

My server information:

Your Environment Information ---------------------------
Operating System: darwin
Node Version: 12.4.0
Serverless Version: 1.49.0
Enterprise Plugin Version: 1.3.4
Platform SDK Version: 2.1.0\

Any ideas?



I was able to get the deployment to work by changing serverless.yaml from

dockerizePip: non-linux


dockerFile: /Users/me/.docker/machine/machines/default