# 问题
$ docker exec --help
-bash: docker: command not found
# 解决
touch ~/.bash_profile
echo 'export PATH="/Applications/Docker.app/Contents/Resources/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
# 问题
$ docker exec --help
-bash: docker: command not found
# 解决
touch ~/.bash_profile
echo 'export PATH="/Applications/Docker.app/Contents/Resources/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
本文标题:mac系统中解决docker: command not foun
本文链接:https://www.haomeiwen.com/subject/ktinkdtx.html
网友评论