
Alpine based image that lets you run Docker inside a Concourse task. Task must have privileged: true for Docker to start.
!build status Release Pipeline
Use it in a task config:
yamlimage_resource: type: registry-image source: repository: taylorsilva/dcind
Pull it in as a resource to use as a task image:
yamlresoures: - name: dcind icon: docker type: registry-image source: repository: taylorsilva/dcind tag: latest jobs: ... - get: dcind - task: doing-things image: dcind privileged: true
Run it locally on your machine:
$ docker run -it --privileged taylorsilva/dcind Starting Docker... waiting for docker to come up... bash-5.1#
The Docker version is used to tag releases of the image. A new image is published everyday to ensure OS packages are up to date.
There are three kinds of tags being published, two rolling and one static.
Rolling Tags:
latest: points to the latest image pushed which contains the latest versions of Docker and Docker-ComposeDOCKER_VERSION: This tag is the docker version (e.g. 20.10.6) and is republished daily. Only the latest version of docker is republished. Older versions will become stale.Static Tag:
DOCKER_VERSION-YYYYmmdd: This tag is the docker version plus the date it was published. If you want to stay on a specific version of Docker + Docker-Compose then sticking to a particular daily build will meet your needs.Here is an example of a Concourse job
that uses taylorsilva/dcind image to run a bunch of containers in a task, and
then runs the integration test suite. You can find a full version of this
example in the example directory.
Note that docker-lib.sh has bash dependencies, so it is important to use bash in your task.
yaml- name: integration plan: - aggregate: - get: code params: {depth: 1} passed: [unit-tests] trigger: true - get: redis params: {save: true} - get: busybox params: {save: true} - task: Run integration tests privileged: true config: platform: linux image_resource: type: docker-image source: repository: amidos/dcind inputs: - name: code - name: redis - name: busybox run: path: bash args: - -cex - | source /docker-lib.sh start_docker # Strictly speaking, preloading of Docker images is not required. # However, you might want to do this for a couple of reasons: # - If the image comes from a private repository, it is much easier to let Concourse pull it, # and then pass it through to the task. # - When the image is passed to the task, Concourse can often get the image from its cache. docker load -i redis/image docker tag "$(cat redis/image-id)" "$(cat redis/repository):$(cat redis/tag)" docker load -i busybox/image docker tag "$(cat busybox/image-id)" "$(cat busybox/repository):$(cat busybox/tag)" # This is just to visually check in the log that images have been loaded successfully docker images # Run the container with tests and its dependencies. docker-compose -f code/example/integration.yml run tests # Cleanup. # Not sure if this is required. # It's quite possible that Concourse is smart enough to clean up the Docker mess itself. docker volume rm $(docker volume ls -q)
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。



探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
不支持 push
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务