Skip to content

Commit a912c1a

Browse files
Merge pull request docker#121 from BSCheshir/patch-1
remove prefix space
2 parents 5c9cbc8 + 1b8729c commit a912c1a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

compose/gettingstarted.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,27 +157,27 @@ If you want to run your services in the background, you can pass the `-d` flag
157157
(for "detached" mode) to `docker-compose up` and use `docker-compose ps` to
158158
see what is currently running:
159159

160-
$ docker-compose up -d
161-
Starting composetest_redis_1...
162-
Starting composetest_web_1...
163-
$ docker-compose ps
164-
Name Command State Ports
165-
-------------------------------------------------------------------
166-
composetest_redis_1 /usr/local/bin/run Up
167-
composetest_web_1 /bin/sh -c python app.py Up 5000->5000/tcp
160+
$ docker-compose up -d
161+
Starting composetest_redis_1...
162+
Starting composetest_web_1...
163+
$ docker-compose ps
164+
Name Command State Ports
165+
-------------------------------------------------------------------
166+
composetest_redis_1 /usr/local/bin/run Up
167+
composetest_web_1 /bin/sh -c python app.py Up 5000->5000/tcp
168168

169169
The `docker-compose run` command allows you to run one-off commands for your
170170
services. For example, to see what environment variables are available to the
171171
`web` service:
172172

173-
$ docker-compose run web env
173+
$ docker-compose run web env
174174

175175
See `docker-compose --help` to see other available commands. You can also install [command completion](completion.md) for the bash and zsh shell, which will also show you available commands.
176176

177177
If you started Compose with `docker-compose up -d`, you'll probably want to stop
178178
your services once you've finished with them:
179179

180-
$ docker-compose stop
180+
$ docker-compose stop
181181

182182
At this point, you have seen the basics of how Compose works.
183183

0 commit comments

Comments
 (0)