docker-compose up
You should get a "DOCKER WORK" message.
To change, edit the hostname docker-compose.yml You will also need to edit your local machine's hosts file. In OSX and Linux it's in /etc/hosts.
If you get something like this:
Cannot start service mysql: Mounts denied: The paths /sites/blah/... and /sites/blah/... are not shared from OS X and
are not known to Docker.
If you're using a MySQL GUI client, don't forget to add a user from an address other than localhost. MySQL will add a localhost user on a new install only, so you'll need to add a user for other locations. The sample below adds a user from any location:
CREATE USER 'root'@'%' IDENTIFIED BY 'root';
GRANT ALL PRIVILEGES ON * . * TO 'root'@'%';