Jenkins docker權限問題

  1. 環境Ubuntu Server
  2. 工具 jenkins-war:2.89.2
  3. 報錯信息
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Build step 'Execute shell' marked build as failure

解決方法ROOT執行docker

gpasswd -a jenkins root
gpasswd -a jenkins docker
相關文章
相關標籤/搜索