docker-compose


How to stop docker-compose run command


I'm using a node docker with a simple aplication created with strongloop I want start arc slc arc instead the default command slc run
my app is called app in the docker-compose.yml file, I run the following command
$ docker-compose run app slc run
Arc starts but I can't stop the command, I've tried CTRL + C
You might need to add the following lines to your docker-compose file since you're running it in the foreground:
tty: true
stdin_open: true
This will send the signal to the container application instead.
If that doesn't work, I would just run the application as a daemon using the -d flag.
docker-compose run app slc run -d
You can stop or kill using:
docker-compose stop
docker-compose kill
docker stop [container names]
docker kill [container names]
Running the docker-compose commands will stop or kill all of the running containers, you can add individual container names after the command if you only want to kill individual containers.

Related Links

issues in buiding Slate with Docker
Invalid type error in Docker Compose
Django cookiecutter with Docker add pip package
Docker Compose + Swarm + Machine Networking issue
docker-compose build image parameters --force-rm --pull
linking 2 containers through docker compose
Files created by manage.py commands not chown'd from root user
Is it possible to create an intermediate image within docker-compose?
docker-compose service listen on specified interface
Does Docker-Compose allow overwriting of ports when using extends?
Jhipster Docker-compose conflict
Build multiple images with Docker Compose?
JHipster Cassandra Docker Build
Defining project name inside docker-compose configuration
Docker-compose named mounted volume
cannot ping linked docker container service

Categories

HOME
reactjs
stata
teradata
compression
conceptual
livecharts
nltk
crash
snmp
download
powerquery
foreach
atlassian-fisheye
comments
obd-ii
osclass
taxonomy
django-rest-auth
xforms
scotty
sonarlint
single-page-application
computation-theory
xna
combinations
klipfolio
ppp
datanucleus
continuous-fourier
spock
jbossfuse
mobile-development
login-required
visual-studio-debugging
slim-lang
visual-prolog
webclient
libconfig
jquery-inputmask
aspose.pdf
fisheye
taleo
qtwebkit
spring-data-commons
ng-class
standard-error
e4
riemann
boost-regex
liferay-ide
grib
blackberry-webworks
networkstream
diameter-protocol
mrunit
database-administration
angular-i18n
paypal-subscriptions
chomsky-normal-form
web-optimization
jquery-draggable
clear
ruby-1.8.7
recode
om
first-order-logic
openhab
pagecontrol
dcg
screen-lock
skview
data-quality-services
numerical-recipes
aiff
gnip
powershell-v1.0
amzi-prolog
behance-api
rssi
email-headers
starling-framework
flask-mongoengine
autofilter
8-puzzle
aspnet-compiler
objectdatasource
kohana-orm
outlook-object-model
cocotron
servicemanager
cloudmade
ncml
motordriver
google-email-audit-api
jquery-ui-map
nude.js
stl-algorithm
soapexception
backlight
qvariant
sipdroid
service-layer
netduino
cinder
nscharacterset
rpxnow
ihtmldocument2
scala-designer
expander

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App