Container will not start

I have set up health checks on my Docker containers and the used the docker-autoheal utility (https://github.com/willfarrell/docker-autoheal) to restart unhealthy containers. Unfortunately the autoheal container will not start and repeatedly restarts.

The error in the logs is:

/docker-entrypoint: exec: line 60: autoheal: not found

I have looked at the docker-entrypoint file on the above github page and line 60 is the last line of the file that closes an if loop.

So far I have not been able to figure out why the cotnainer will not start and would appreciate any help.

Docker is running on Ubuntu 16.04 LTS
Docker version is 18.03.1-ce

I am using docker-compose to run the containers and the section of my docker-compose.yml for this container is:

autoheal:
  container_name: autoheal
  image: willfarrell/autoheal
  restart: always
  volumes:
    - /var/run/docker.sock:/tmp/docker.sock
  environment:
    - AUTOHEAL_CONTAINER_LABEL=all

Any help is appreciated.

Thanks in advance

(edited for spelling)