Integrated Development Environments (IDEs) are nice for debugging problems but with Docker containers they have to be set up to work remotely. Vim may not be as nice an interface but has an advantage of being able to run in the container making it easier to get set up and running quickly. This is especially true for new releases where there is not much information yet on configuration.
Docker has just been released for Mac OS X and it takes a different approach of using containers. It claims to be faster and quicker to set up then alternatives such as virtual machines. I will look at using Docker to set up a basic local development environment for a Drupal 8 website on Ubuntu 16.04. I will be using PHP 7.0 and MariaDB. This is done for an actual website and some problems are encountered which will demonstrate how to debug and the tools that can be used to solve issues.