专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

linuxserver/docker-compose Docker 镜像 - 轩辕镜像

docker-compose
linuxserver/docker-compose
LinuxServer.io提供的docker-compose容器镜像,集成Docker Compose工具,支持通过yaml配置文件定义多容器应用架构,实现服务编排、依赖管理及生命周期控制(启动/停止/重启)。无需本地安装,环境隔离且跨平台兼容,适合开发、测试及生产环境快速部署多服务应用。简化多容器协作管理,支持版本控制与资源优化,提升容器化应用运维效率。
72 收藏0 次下载
💣 CI/CD 卡在拉镜像?问题不在代码,在镜像源
版本下载
💣 CI/CD 卡在拉镜像?问题不在代码,在镜像源

DEPRECATION NOTICE

This image is deprecated. We will not offer support for this image and it will not be updated. Docker Compose is now available from the docker repos: [***]

And also for direct download: [***]

![linuxserver.io]([***]

The LinuxServer.io team brings you another container release featuring:

  • regular and timely application updates
  • easy user mappings (PGID, PUID)
  • custom base image with s6 overlay
  • weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
  • regular security updates

Find us at:

  • Blog - all the things you can do with our containers including How-To guides, opinions and much more!
  • *** - realtime support / chat with the community and the team.
  • Discourse - post on our community forum.
  • Fleet - an online web interface which displays all of our maintained images.
  • GitHub - view the source for all of our repositories.
  • Open Collective - please *** helping us by either donating or contributing to our budget

linuxserver/docker-compose

![Scarf.io pulls]([] ![GitHub Stars]([] ![GitHub Release]([] ![GitHub Package Repository]([] ![GitLab Container Registry]([] ![Quay.io]([] ![Docker Pulls]([] ![Docker Stars]([] ![Jenkins Build]([***]

docker-compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration.

![docker-compose]([***]

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/docker-compose:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

ArchitectureAvailableTag
x86-64✅amd64-<version tag>
arm64✅arm64v8-<version tag>
armhf✅arm32v7-<version tag>

Version Tags

This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.

TagAvailableDescription
latest✅docker-compose v1 releases
alpine✅docker-compose v1 releases with our alpine baseimage
v2✅docker compose v2 releases

Usage

Docker cli
docker run --rm \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v "$PWD:$PWD" \
  -w="$PWD" \
  lscr.io/linuxserver/docker-compose:latest \
  up

You can replace the last line with any docker-compose command and argument, which will be passed to docker-compose inside the image.

Recommended method

We provide a very convenient script that allows the docker-compose container to run as if it was installed natively:

sudo curl -L --fail [***] -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Running these two commands on your docker host once will let you issue commands such as docker-compose up -d and the docker-compose container will do its job behind the scenes.

Docker Mods

We publish various Docker Mods to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.

Support Info

  • Shell access whilst the container is running: docker exec -it docker-compose /bin/bash
  • To monitor the logs of the container in realtime: docker logs -f docker-compose
  • container version number
    • docker inspect -f '{{ index .Config.Labels "build_version" }}' docker-compose
  • image version number
    • docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/docker-compose:latest

Updating Info

Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the Application Setup section above to see if it is recommended for the image.

Below are the instructions for updating containers:

Via Docker Run
  • Update the image: docker pull lscr.io/linuxserver/docker-compose:latest
  • You can also remove the old dangling images: docker image prune

Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

bash
git clone [***]
cd docker-docker-compose
docker build \
  --no-cache \
  --pull \
  -t lscr.io/linuxserver/docker-compose:latest .

The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static

bash
docker run --rm --privileged multiarch/qemu-user-static:register --reset

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Versions

  • 16.02.23: - Deprecate image.
  • 15.03.22: - Add v2 branch. Change master to only fetch v1 releases. Change alpine to only fetch v1 releases. Rebase master to focal. Rebase alpine to 3.15.
  • 17.12.20: - Update run.sh with formatting changes.
  • 04.10.20: - Update run.sh with changes from upstream.
  • 31.08.20: - Update tox and virtualenv.
  • 31.07.20: - Add support for global env var DOCKER_COMPOSE_IMAGE_TAG in the run.sh script.
  • 06.07.20: - Publish docker-compose and docker-cli binaries in Github releases.
  • 01.07.20: - Release alpine based images at alpine tag.
  • 04.06.20: - Bump docker-cli to 19.03.8, auto-detect python3 version.
  • 19.05.20: - Initial Release.
查看更多 docker-compose 相关镜像 →
sourceability/docker-compose logo
sourceability/docker-compose
暂无描述
1M+ pulls
上次更新:未知
asappinc/docker-compose logo
asappinc/docker-compose
该基础镜像仓库提供Linux(alpine 3.6、ubuntu 16.04)及代码基础镜像,用于支持非asapp服务的Docker镜像构建。
100K+ pulls
上次更新:未知
genomicsengland/docker-compose logo
genomicsengland/docker-compose
包含Docker和Docker Compose的轻量级镜像,支持SSH功能,无入口点,基于Alpine构建并移除无用包以减小体积。
100K+ pulls
上次更新:未知
talentplatforms/docker-compose logo
talentplatforms/docker-compose
用于持续集成(CI)的工具,适用于与Docker-in-Docker(dind)构建配合使用。
100K+ pulls
上次更新:未知
merjasec/docker-compose logo
merjasec/docker-compose
包含docker-compose的Docker镜像,适用于Gitlab CI流水线。
110K+ pulls
上次更新:未知

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

MacOS OrbStack

MacOS OrbStack 容器配置

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
linuxserver/docker-compose
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
咨询镜像拉取问题请 提交工单,官方技术交流群:1072982923
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
咨询镜像拉取问题请提交工单,官方技术交流群:
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.