简体   繁体   English

什么是Docker URL

[英]What is Docker URL

I am building a gradle project in Jenkins. 我正在詹金斯建立一个gradle项目。 and client has asked to build the project in docker image. 并且客户要求在docker镜像中构建项目。 i am new to Jenkins and docker(i am able to build the project normally on Jenkins) i have installed the docker plugin and now it asks for DOCKER URL and Docker API under cloud settings. 我是Jenkins和docker的新手(我能够在Jenkins上正常构建项目)我已经安装了docker插件,现在它要求在云设置下使用DOCKER URLDocker API what are those and how to configure the docker. 这些是什么以及如何配置docker。 i am running Jenkins on the remote server, which is setup by another person. 我在远程服务器上运行Jenkins,这是由另一个人设置的。 i don't have access to shell command, i have to use docker and build the project, and what is dockerfile and how to build and what to put in it. 我无权访问shell命令,我必须使用docker并构建项目,什么是dockerfile以及如何构建以及放入什么内容。

根据jenkins docker插件页面用于访问Docker服务器API的URL(例如: http ://172.16.42.43:4243 )但我建议您使用https:// your_local_docker_machine_ip_here:2376

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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