docker-compose up - Docker Documentation
https://docs.docker.com/compose/reference/upThe docker-compose up command aggregates the output of each container (essentially running docker-compose logs --follow ). When the command exits, all containers are stopped. Running docker-compose up --detach starts the containers in the background and leaves them running. If there are existing containers for a service, and the service’s ...
--remove-orphans flag to clean it up - GitHub
https://github.com/docker/compose/issues/349020.05.2016 · As the message points out, it seems you have renamed one of the services inside your docker-compose.yml file, and the container for said service still exists. If that is the case, you can decide to remove it using the --remove-orphans option. Alternatively, it is possible this service belongs to another project with the same name, and is mistakenly detected by compose as a …