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.
Using custom hostnames for docker local development containers
Changing the network name?
Let external container know about subnets created by multiple docker-compose projects
How to monitor / discover more docker containers with prometheus
two docker-compose .yml in the same network with COMPOSE_PROJECT_NAME
docker compose 3.1(swarm), secrets, ssl and nginx
What is the version directive for?
How to run docker-compose up -d at system start up?
In Docker Compose can I have services exiting
Docker compose - secrets Additional property secrets is not allowed
docker-compose mounted volume remain
Should I do anything after upgrading docker-compose?
docker caddy proxy not forwarding
docker share OS volume between services
How dynamic map service name to ENV var
docker-compose v3 services on several networks