I'm trying to run the below code as instructed in the docker-graphite-statsd:
docker run -d\
--name graphite\
--restart=always\
-p 80:80\
-p 2003-2004:2003-2004\
-p 2023-2024:2023-2024\
-p 8125:8125/udp\
-p 8126:8126\
graphiteapp/graphite-statsd
It gives this error:
$ sudo docker run -d --name graphite --restart=always -p 80:80 -p 2003-2004:2003-2004 -p 2023-2024:2023-2024 -p 8125:8125/udp -p 8126:8126 graphiteapp/graphite-statsd
sudo: docker: command not found
This is on a Mac. I tried brew install docker
but it made no difference.
How do I resolve this?
brew doctor
it'll help you to detect the error in the installation. – Uballhttps://docs.docker.com/docker-for-mac/install/
thebrew doctor
didn't help. – Huggermugger