Getting the Local Server status

To get details on the running Local Server status and containers, run composer local-server status. You should see output similar to:

        Name                        Command               State                  Ports
my-site_cavalcade_1       /usr/local/bin/cavalcade         Up
my-site_db_1     mysqld      Up>3306/tcp
my-site_elasticsearch_1   / ela ...   Up>9200/tcp, 9300/tcp
my-site_nginx_1           nginx -g daemon off;             Up       80/tcp,>8080/tcp
my-site_php_1             / php-fpm    Up>9000/tcp
my-site_redis_1  redis ...   Up>6379/tcp
my-site_s3_1              fakes3 server --root . --p ...   Up>8000/tcp
my-site_tachyon_1         node server.js --debug           Up>8080/tcp
my-site_xray_1            /usr/bin/xray -b    Up>2000/tcp, 2000/udp

All containers should have a status of "Up". If they do not, you can inspect the logs for each service by running composer local-server logs <service>, for example, if site_db_1 shows a status other than "Up", run composer local-server logs db.

Services keep stopping

By default docker machine sets a default memory limit of 2gb for all of your containers. Because of this if your system becomes too busy or you're running multiple instances of local server it is recommended to increase this limit to at least 4gb.

In the docker GUI go to the "Preferences" pane, then the "Advanced" tab and move the memory slider up.

Docker Advanced Settings