I am following a tutorial to learn docker and in the video the person says to access docker from the command line and then run docker ps
. I tried doing that through my mac terminal and got an error saying /bin/sh: docker: not found
.
Here is the code in my terminal:
Last login: Tue Aug 17 11:42:10 on ttys000 docker exec -it 41287e54390daa5016ed1f778022d05ae984ed27f62344c542d0662aee4d2230 /bin/sh nila@Nilas-MacBook-Air ~ % docker exec -it 41287e54390daa5016ed1f778022d05ae984ed27f62344c542d0662aee4d2230 /bin/sh / # docker ps /bin/sh: docker: not found
In the tutorial this is how it looks when you run docker ps
:
tutorial
Here is the link to the tutorial I am following: https://www.youtube.com/watch?v=gAkwW2tuIqE
If you have installed Docker Desktop and the application appears in applications, then open a new terminal window and type docker -version
and you should receive output relating to the version of docker.
More information can be found on the Docker documentation,
https://docs.docker.com/desktop/mac/install/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With