缓存无效后如何删除已缓存/中间的Docker映像的处理方法 我有一个CI管道,可为每次运行的管道为我的应用程序构建一个docker映像(并且该管道是通过将代码推送到git存储库触发的.) I have a CI-pipeline that builds a docker image for my app for every run of the pipeline (and the pipeline is triggered by a code-push to the git repositor
像往常一样对Docker容器运行测试还是对dockerize测试进行测试?的处理方法 我是Docker的新手,正在阅读Docker.这是在自包含且可复制的标准化配置(正确完成)中测试系统的好方法. I'm new to Docker and was reading up on Docker. It's a great way to test systems in a self contained and reproducible standardized configuration (when
gitlab-ci 服务). According to the official gitlab documentation, one way to enable docker build within ci pipelines, is to make use of the dind service (in terms of gitlab-ci services). 但是,就像在docker executor上运行ci作业的情况一样,还需要 docker:latest 映像. However,
Docker中的Docker,在包含Jenkins Server的Docker中构建Docker代理的处理方法 我目前正在使用Docker运行Jenkins.在尝试构建Docker应用程序时,我面临是否应该通过绑定/var/run/docker.sock文件或在我的Jenkins Docker中安装另一个Docker实例在Docker(Dind)中使用Docker的疑问.实际上,我以前曾看到过,不建议使用docker.sock以外的其他方式. I am currently running a
在Dockerfile中运行npm run test?的处理方法 使用构建器生成较小的docker映像,什么是运行 npm run test 的好方法?构建后似乎可以在Dockerfile中运行它,但是我可能丢失了一些东西 Using a builder to generate a smaller docker image, what would be a good way to run npm run test? I seems like running it in the Dockerfi
Docker Swarm部署-等待服务/容器出现的处理方法 我有一个有效的工作组设置和滚动更新部署.由于部署后我必须执行一些任务(例如数据库迁移),因此我向堆栈添加了管理器"服务.该服务仅限于节点管理器-因此,我始终可以找到它. I have a working swarm setup and rolling-updates deployment. As i have to execute some tasks after deployment (like database migr
将数据从Cloud Build容器传输到Google Compute Engine实例时出现问题的处理方法 当前,我正在使用 Cloud Build 生成一些需要部署到GCE实例的工件.为此,我尝试将 gcloud 构建器与以下参数一起使用: Currently I'm using Cloud Build to produce some artifacts that I need to deploy to GCE instance. I've tried to use gcloud build
从挂载了docker.sock的Docker容器中查找主机上的开放端口的处理方法 我目前正在致力于在gitlab中启用评论应用.为此,我需要为每个合并请求/分支部署一个应用程序.这意味着我需要找到可以部署到的开放端口. I am currently working on enabling review apps in gitlab. In order to do that I need to deploy an app for every merge request/ branch. Whic
使用相同的Docker映像文件权限因计算机而异的处理方法 我有一个问题,我根本无法掌握.我在主节点上的Docker容器中运行Jenkins管道.现在,我添加了另一个节点,并希望在那里也运行管道. I have a problem, that I cannot grasp at all. I'm running my Jenkins pipeline in a Docker container on the master node. Now I added another node and wa
docker设备macOS上没有剩余空间的处理方法 我正在尝试构建需要复制一些大文件(〜75GB)的docker映像,运行以下命令时出现以下错误: I am trying to build a docker image that requires copying some large files (~75GB) and I'm getting the following error when I run the following: $ docker build -t my-project .
docker macvlan-没有路由到主机(容器)的处理方法 我正在尝试了解"macvlan"网络从码头工人.我创建了一个新网络: Im trying to understand the "macvlan" network from docker. I create a new network: docker network create -d macvlan \ --subnet=192.168.2.0/24 \ --gateway=192.168.
使用泊坞窗群来执行单个容器而不是“服务".的处理方法 我真的很喜欢拥有可用于执行docker服务的docker计算机集群的概念.我也喜欢单个Docker容器不可用的其他功能(例如docker secret). I really enjoy the concept of having a cluster of docker machines available to execute docker services. I also like the additional features