

To stop and remove all services, be aware of data loss when not using host-volumes To stop all services in your stack, immediately docker-compose down -v To stop all services in your stack, gracefully docker-compose kill To view logs for all services, continuously docker-compose stop To list running services docker-compose logs -f

To start all services in your stack, in the background docker-compose ps

a webserver in a container on port 80 is available on port 8888 on your (local)host.Ĭontainers can solve many issues such as having identical software versions at developer's computer and the server, fast deployments or simulating multi-server architecture while developing. A container is like a lightweight isolated virtual machine that maps its services to host's ports, i.e. For development and deployments Yii applications can be run as Docker containers.
