mirror of
https://github.com/docker/compose.git
synced 2025-07-26 15:14:04 +02:00
Change plum up to plum start
This commit is contained in:
parent
4fdd2dc077
commit
120d57e856
@ -43,7 +43,7 @@ db:
|
|||||||
You've now given Plum the minimal amount of configuration it needs to run:
|
You've now given Plum the minimal amount of configuration it needs to run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ plum up
|
$ plum start
|
||||||
Building db... done
|
Building db... done
|
||||||
db is running at 127.0.0.1:45678
|
db is running at 127.0.0.1:45678
|
||||||
<...output from postgresql server...>
|
<...output from postgresql server...>
|
||||||
@ -51,10 +51,10 @@ db is running at 127.0.0.1:45678
|
|||||||
|
|
||||||
For each service you've defined, Plum will start a Docker container with the specified image, building or pulling it if necessary. You now have a PostgreSQL server running at `127.0.0.1:45678`.
|
For each service you've defined, Plum will start a Docker container with the specified image, building or pulling it if necessary. You now have a PostgreSQL server running at `127.0.0.1:45678`.
|
||||||
|
|
||||||
By default, `plum up` will run until each container has shut down, and relay their output to the terminal. To run in the background instead, pass the `-d` flag:
|
By default, `plum start` will run until each container has shut down, and relay their output to the terminal. To run in the background instead, pass the `-d` flag:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ plum run -d
|
$ plum start -d
|
||||||
Building db... done
|
Building db... done
|
||||||
db is running at 127.0.0.1:45678
|
db is running at 127.0.0.1:45678
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ Running more than one container for a service
|
|||||||
You can set the number of containers to run for each service with `plum scale`:
|
You can set the number of containers to run for each service with `plum scale`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ plum up -d
|
$ plum start -d
|
||||||
db is running at 127.0.0.1:45678
|
db is running at 127.0.0.1:45678
|
||||||
web is running at 127.0.0.1:45679
|
web is running at 127.0.0.1:45679
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user