2
2
description : How to install Docker Compose on Linux
3
3
keywords : compose, orchestration, install, installation, docker, documentation
4
4
toc_max : 3
5
-
6
- title : Install on Linux
5
+ title : Install the Compose plugin
7
6
redirect_from :
8
7
- /compose/compose-plugin/
9
8
- /compose/compose-linux/
10
-
11
9
---
12
10
13
- On this page you can find instructions on how to install the Compose on Linux from the command line.
14
-
15
- ## Install Compose
16
-
17
- To install Compose:
18
- * Option 1: [ Set up Docker's repository on your Linux system] ( #install-using-the-repository ) .
19
- * Option 2: [ Install Compose manually] ( #install-the-plugin-manually ) .
11
+ On this page you can find instructions on how to install the Compose plugin on Linux from the command line.
20
12
21
- ### Install using the repository
13
+ To install the Compose plugin on Linux, you can either:
14
+ - [ Set up Docker's repository on your Linux system] ( #install-using-the-repository ) .
15
+ - [ Install Compose manually] ( #install-the-plugin-manually ) .
22
16
23
17
> ** Note**
24
18
>
25
19
> These instructions assume you already have Docker Engine and Docker CLI installed and now want to install the Compose plugin.
26
- For Compose standalone, see [ Install Compose Standalone] ( other.md#install-compose-standalone ) .
20
+ For Compose standalone, see [ Install Compose Standalone] ( other.md ) .
27
21
28
- If you have already set up the Docker repository, jump to step 2.
22
+ ### Install using the repository
29
23
30
24
1 . Set up the repository. Find distro-specific instructions in:
31
25
@@ -36,15 +30,15 @@ If you have already set up the Docker repository, jump to step 2.
36
30
[ RHEL] ( ../../engine/install/rhel.md/#set-up-the-repository ) |
37
31
[ SLES] ( ../../engine/install/sles.md/#set-up-the-repository ) .
38
32
39
- 2 . Update the package index, and install the _ latest version _ of Docker Compose:
33
+ 2 . Update the package index, and install the latest version of Docker Compose:
40
34
41
- * Ubuntu, Debian:
35
+ * For Ubuntu and Debian, run :
42
36
43
37
``` console
44
38
$ sudo apt-get update
45
39
$ sudo apt-get install docker-compose-plugin
46
40
```
47
- * RPM-based distros:
41
+ * For RPM-based distros, run :
48
42
49
43
```console
50
44
$ sudo yum update
@@ -62,15 +56,15 @@ Where `vN.N.N` is placeholder text standing in for the latest version.
62
56
63
57
#### Update Compose
64
58
65
- To update Compose, run the following commands:
59
+ To update the Compose plugin , run the following commands:
66
60
67
- * Ubuntu, Debian:
61
+ * For Ubuntu and Debian, run :
68
62
69
63
```console
70
64
$ sudo apt-get update
71
65
$ sudo apt-get install docker-compose-plugin
72
66
```
73
- * RPM-based distros:
67
+ * For RPM-based distros, run :
74
68
75
69
```console
76
70
$ sudo yum update
@@ -81,7 +75,7 @@ To update Compose, run the following commands:
81
75
82
76
> ** Note**
83
77
>
84
- > This option requires you to manage upgrades manually. We recommend setting up Docker' s repository for an easier maintenance.
78
+ > This option requires you to manage upgrades manually. We recommend setting up Docker' s repository for easier maintenance.
85
79
86
80
1. To download and install the Compose CLI plugin, run:
87
81
@@ -115,10 +109,3 @@ To update Compose, run the following commands:
115
109
$ docker compose version
116
110
Docker Compose version {{site.compose_version}}
117
111
```
118
-
119
- ## Where to go next
120
-
121
- - [Manage Docker as a non-root user](../../engine/install/linux-postinstall.md)
122
- - [Command line reference](../../reference/index.md)
123
- - [Compose file reference](../compose-file/index.md)
124
- - [Sample apps with Compose](../samples-for-compose.md)
0 commit comments