8 steps to start with Docker containers

docker container linux

Docker is used by almost everybody, from developers to sysadmins and architects, everybody is using it because is fast, clean and very easy to build, ship, and run distributed applications. In my older docker posts I presented the basics of Docker when it wasn’t so mature. Today I want to recap some of it’s functionalities and discuss more advanced technique that will help you start use Docker with more confidence.

MySQL cheetsheet

mysql

MySQL is one of the most popular sql databases, it is a powerfull, free open-source database management system that has been around for years. MySQL powers 9 of the 10 top Web sites worldwide, as well as thousands of corporate web-based applications. MySQL was designed and optimized for Web applications, that’s why it became the favorite choice for web developers.

Run PHPUnit on multiple PHP versions using Docker

docker phpunit php

One of the biggest advantage using Docker is the ability to switch between tools versions. Personally I think the easiest way to demonstrate how you can benefit from this advantage is to run PHPUnit tests against different PHP versions.

Graceful restart php-fpm

php php-fpm modern php

Php-Fpm allows for a graceful restart of child, usually with the reload keyword instead of restart on the init script.

Automate code standards validation with Composer, Git Hooks and PHPCodeSniffer

clean code composer git phpcs

Recently I had to setup a new project and like always I prefer to enforce the code standards on the project so that I don’t need to worry about this ever again. Because I realized there are a lot of people who don’t know how this could be accomplished I decided to write a short post about this, maybe it helps others out there. We will use composer, pre-commit git hook and off course phpcs to automate code quality checks.


subscribe via RSS