• This repository has been archived on 16/Feb/2023
  • Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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: https://docs.docker.com/engine/install/

And also for direct download: https://github.com/docker/compose

linuxserver.io

Blog Discord Discourse Fleet GitHub Open Collective

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!
  • Discord - 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 consider 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:

Architecture Available Tag
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.

Tag Available Description
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 https://raw.githubusercontent.com/linuxserver/docker-docker-compose/master/run.sh -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

Docker Mods Docker Universal 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:

git clone https://github.com/linuxserver/docker-docker-compose.git
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

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.

More Repositories

1

Heimdall

An Application dashboard and launcher
PHP
7,832
star
2

docker-wireguard

Dockerfile
2,824
star
3

docker-swag

Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.
Dockerfile
2,734
star
4

docker-webtop

Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.
Dockerfile
1,720
star
5

docker-code-server

Dockerfile
1,566
star
6

reverse-proxy-confs

These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag
1,319
star
7

docker-plex

Dockerfile
992
star
8

docker-mods

Documentation and Examples of base container modifications
Dockerfile
940
star
9

docker-unifi-controller

Dockerfile
897
star
10

docker-calibre-web

Dockerfile
877
star
11

docker-qbittorrent

Dockerfile
868
star
12

docker-letsencrypt

DEPRECATED: Please use linuxserver/swag instead
Dockerfile
727
star
13

docker-bookstack

A Docker container for the BookStack documentation wiki
Dockerfile
687
star
14

docker-sonarr

Dockerfile
672
star
15

docker-jellyfin

Dockerfile
628
star
16

budge

JavaScript
617
star
17

docker-unifi-network-application

Dockerfile
616
star
18

docker-radarr

Dockerfile
595
star
19

docker-nextcloud

Dockerfile
571
star
20

docker-emulatorjs

Web based retro emulation frontend with rom scanning and automated art ingestion.
Dockerfile
502
star
21

docker-transmission

Dockerfile
486
star
22

docker-openssh-server

Dockerfile
484
star
23

emulatorjs

Self hosted web based retro emulation front end with rom and art management.
JavaScript
389
star
24

docker-calibre

Dockerfile
352
star
25

docker-jackett

Dockerfile
346
star
26

docker-heimdall

Dockerfile
311
star
27

docker-grocy

A container for grocy - the ERP application for your kitchen https://grocy.info
Dockerfile
308
star
28

docker-prowlarr

Docker image for Prowlarr/Prowlarr
Dockerfile
299
star
29

Heimdall-Apps

Apps for Heimdall
PHP
299
star
30

docker-smokeping

Shell
287
star
31

docker-duplicati

Dockerfile
283
star
32

docker-kasm

Kasm Workspaces platform provides enterprise-class orchestration, data loss prevention, and web streaming technology to enable the delivery of containerized workloads to your browser.
Shell
282
star
33

docker-baseimage-kasmvnc

Base Images for remote web based Linux desktops using KasmVNC for many popular distros.
Shell
275
star
34

docker-netbootxyz

Dockerfile
257
star
35

docker-syncthing

Dockerfile
235
star
36

docker-bazarr

Dockerfile
232
star
37

docker-deluge

Dockerfile
223
star
38

docker-rdesktop

Dockerfile
222
star
39

docker-sabnzbd

Dockerfile
210
star
40

docker-lidarr

Dockerfile
204
star
41

docker-homeassistant

Dockerfile
200
star
42

docker-tautulli

Dockerfile
184
star
43

docker-duckdns

Shell
183
star
44

docker-mariadb

Dockerfile
181
star
45

docker-healthchecks

Dockerfile
176
star
46

docker-couchpotato

Dockerfile
153
star
47

docker-ombi

Dockerfile
153
star
48

davos

Web-based FTP automation for Linux servers.
Java
151
star
49

docker-rutorrent

DEPRECATED
PHP
151
star
50

docker-nzbget

Dockerfile
140
star
51

docker-ffmpeg

Dockerfile
139
star
52

docker-firefox

Dockerfile
135
star
53

docker-tvheadend

Dockerfile
134
star
54

fleet

Status and image fleet metadata management application for Docker images
Java
127
star
55

Clarkson

Web-based fuel logging dashboard
TypeScript
126
star
56

docker-freshrss

HTML
124
star
57

docker-baseimage-alpine

Dockerfile
124
star
58

docker-nginx

Dockerfile
122
star
59

docker-kodi-headless

Dockerfile
122
star
60

docker-snipe-it

Alpine/Nginx container for the Asset Management software Snipe-IT
Dockerfile
115
star
61

docker-documentation

The repo behind...
108
star
62

docker-ddclient

Dockerfile
106
star
63

docker-emby

Dockerfile
106
star
64

docker-readarr

Container for readarr.com
105
star
65

docker-dokuwiki

Dockerfile
104
star
66

docker-piwigo

Dockerfile
104
star
67

docker-obsidian

Dockerfile
104
star
68

docker-resilio-sync

Dockerfile
102
star
69

docker-wireshark

Dockerfile
101
star
70

docker-overseerr

Dockerfile
98
star
71

docker-baseimage-guacgui

Dockerfile
98
star
72

docker-openvscode-server

Dockerfile
98
star
73

docker-beets

Dockerfile
97
star
74

docker-baseimage-ubuntu

Dockerfile
97
star
75

docker-daapd

Dockerfile
96
star
76

docker-chromium

Web accessible Chromium inside an Alpine Container
Dockerfile
96
star
77

docker-ubooquity

Dockerfile
94
star
78

docker-steamos

Vanilla Arch modified into SteamOS with web based Desktop access, useful for remote play and lower end games
Dockerfile
93
star
79

docker-netbox

Python
81
star
80

docker-libreoffice

Dockerfile
81
star
81

docker-pyload-ng

Dockerfile
80
star
82

docker-wikijs

Dockerfile
79
star
83

docker-lazylibrarian

Dockerfile
77
star
84

heimdalljs

JavaScript
77
star
85

docker-mastodon

Dockerfile
76
star
86

docker-baseimage-rdesktop-web

Custom all in one container for running GUI apps from a web browser
Dockerfile
72
star
87

docker-speedtest-tracker

Dockerfile
72
star
88

docker-librespeed

HTML
70
star
89

docker-projectsend

Dockerfile
69
star
90

docker-ldap-auth

Python
68
star
91

docker-diskover

A Docker container for the Diskover space mapping application
Dockerfile
68
star
92

gclient

NodeJS application replacement for the default Guacamole Client
JavaScript
67
star
93

docker-tt-rss

Dockerfile
65
star
94

docker-nzbhydra2

Dockerfile
65
star
95

docker-mstream

Dockerfile
62
star
96

docker-remmina

Dockerfile
62
star
97

docker-organizr

DEPRECATED
Dockerfile
61
star
98

docker-snapdrop

HTML
60
star
99

docker-blender

Responsive web accessible Blender Docker container with hardware acceleration.
Dockerfile
57
star
100

docker-budge

Dockerfile
56
star