House hunting
We are house hunting. This will be our first house bought together.
Finding stories in everyday adventures
We are house hunting. This will be our first house bought together.
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 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!
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 my image here.
I am just starting out on Docker and so far it’s been fun. Here I am going to show how I used Docker WordPress and MySQL containers. Before I delve into the details, I want to tell you that I am going to be working on Windows using SSH on Docker VM. If you want to know how to do that see this post here. So let’s start. Open SSH console. We are going to …