How-to articles, tricks, and solutions about DOCKER

Docker MYSQL '[2002] Connection refused'

The '[2002] Connection refused' error in Docker when trying to connect to a MySQL container typically indicates that the MySQL server is not running or is not accessible on the network.

How can I delete all local Docker images?

To delete all local Docker images, you can use the following command:

How to install PHP composer inside a docker container

To install PHP Composer inside a Docker container, you will need to do the following:

How to install php-redis extension using the official PHP Docker image approach?

To install the php-redis extension using the official PHP Docker image, you can use the docker-php-ext-install script that comes with the image.