使用maven插件 docker-maven-plugin
執行 docker:build
報錯的問題
No plugin found for prefix 'docker' in the current project and in the plugin groups
[org.apache.maven.plugins, org.codehaus.mojo]
available from the repositories [local (/root/.m2/repository),
central (https://repo.maven.apache.org/maven2)] -> [Help 1]
處理方式:settings里面增加配置項
<pluginGroups>
<pluginGroup>com.spotify</pluginGroup>
</pluginGroups>