Reputation: 175
I have installed docker in my windows machine using 'pip install docker' command but system is unable to figure out the existence of docker though added in environment variables (pip docker path).
Added path (Environment variables): C:\Users\Name\foo\local\boo\python\python38-32\lib\site-packages\docker
'docker' is not recognized as an internal or external command, operable program or batch file.
There are lots of similar questions posted in this forum but apparently they did not help my case so for.
Could someone assist?
Upvotes: 1
Views: 7715
Reputation: 1
Try restarting windows and check if the error still continues. I had this error once and as incredible as it seems it solved my problem. I hope it helps, friend. Or try this command in CMD: refreshenv
Upvotes: -1
Reputation: 56
You installed the Docker module for python, but you haven't installed Docker on your Windows machine. If you're wanting to run Docker on your machine, follow these directions from the documentation.
Upvotes: 3
Reputation: 4348
Using pip you have installed a Python library for the Docker Engine API , (most probably this one: https://pypi.org/project/docker/).
Docker is a containerisation technology, installation guide: here
Upvotes: 2