简体   繁体   中英

docker: command not found in linux

(Runs perfectly in local but not in ssh server) <-- this is the problem

I am using the linux shell on the Mac Book Pro. I do have docker desktop and I also used pip3 install docker which had been successfully installed. (PS: And I am sure that the docker desktop was running when I tried to run the following command.) But after I logged into my ssh server and I tried to run the command ./name.sh , it gave me the error line 9: docker: command not found in linux

I have struggled on it for couple hours, plz help me.

Make sure you installed Docker Succesfully (To confirm that run " docker --version ")

If it shows some version of docker then the error should be incorrect docker command

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM