Custom Docker image for PHP

I created a custom docker image for PHP that includes following: Custom PHP.ini file correct timezone configured Apache mod_rewrite enabled PHP PDO MySQL extension installed You can access it here. …and click here for Dockerfile link

My Site is now on Docker containers

My site and this blog is now completely on Docker containers. I really like the setup and it wasn’t too difficult to achieve. This will help me reduce my physical server to bare minimums required to keep Docker containers running. Docker is amazing and truly revolutionary!

Configuring GD and Freetype on WordPress Docker Image

This applies to official WordPress image but can be used with PHP image also. Create Dockerfile with following contents: FROM wordpress:latest # Install gd and freetype RUN apt-get -y update \ && apt-get -y install php5-gd freetype* \ && docker-php-ext-configure gd –with-freetype-dir=/usr/include/ –with-jpeg-dir=/usr/include/ \ && docker-php-ext-install -j$(nproc) gd Build your image docker build -t wordpress . Or you can use …

Read moreConfiguring GD and Freetype on WordPress Docker Image

Creating SSH Key Based Authentication using Bitvise on CentOS

On your client machine (e.g. Laptop) Start Bitvise Client Key Manager, and click “Generate New” Select Algorithm “RSA” and Size 4096 (or any other) Set a Passphrase if required. Enter some comments, and click Generate. After Key is generated, select it, and click on “Export”. In the Export options, make sure you select “Export public key” and underneath it “OpenSSH …

Read moreCreating SSH Key Based Authentication using Bitvise on CentOS