[英]Permission Denied while trying to connect to Docker Daemon while running Jenkins pipeline in Macbook
[英]Jenkins pipeline fails with error : “docker : permission deinied”
我正在嘗試使用 docker 在 jenkins 上運行我的 react 和 nodeJs 項目,以創建 CI/CD 能力。 目前我只想確保它以最簡單的方式工作。
Now - I understand I need permission for jenkins to use docker, and I found this terminal command line that should solve it: "usermod -G docker -a jenkins" and I get an error (on a Mac) : "zsh: command not found: usermod"
任何幫助將不勝感激,修改或替換此行,或其他可能有效的想法。 謝謝 !
Mac 不附帶包含usermod
的passwd
包。 此處描述了管理用戶組的替代方法。 OSX 中的 usermod 等效項
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.