You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
composetest_web_1 /bin/sh -c python app.py Up 5000->5000/tcp
168
168
169
169
The `docker-compose run` command allows you to run one-off commands for your
170
170
services. For example, to see what environment variables are available to the
171
171
`web` service:
172
172
173
-
$ docker-compose run web env
173
+
$ docker-compose run web env
174
174
175
175
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.
176
176
177
177
If you started Compose with `docker-compose up -d`, you'll probably want to stop
178
178
your services once you've finished with them:
179
179
180
-
$ docker-compose stop
180
+
$ docker-compose stop
181
181
182
182
At this point, you have seen the basics of how Compose works.
0 commit comments