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 my image here.

Using WordPress and MySQL Docker Containers

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 …

Read moreUsing WordPress and MySQL Docker Containers

Configuring Docker SSH on Bitvise on Windows

Docker on Windows has a lot to be desired. One thing I found uncomfortable to use is the Docker Shell on Windows. As of version 1.11.2, Docker uses MINGW64 extension to provide the UNIX Shell on Windows and even then it operates on the host, i.e. the Windows machine. If you know the current architecture, Docker runs on a Linux VM on top of Windows host. Therefore, what gets typed on Docker console is eventually …

Read moreConfiguring Docker SSH on Bitvise on Windows

PyCharm on Windows and Docker

I have recently started using Python and Docker. As a novice, I wanted to configure PyCharm on Windows to use my Docker Python image. Here are couple of things I had to do to successfully accomplish this: Your Project folder must be inside your Windows home folder, i.e. c:\users\user. If not, PyCharm will not be able to run your Python file Next, ensure that Docker is selected as a “Remote Python Interpreter”. Obviously as a …

Read morePyCharm on Windows and Docker

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 format”. Click on Export and save the file somewhere. On the CentOS Server Upload the …

Read moreCreating SSH Key Based Authentication using Bitvise on CentOS

Awesome Spicy Chicken Curry Recipe

This is my own style of making spicy chicken curry. Marinade: 1lb boneless chicken breast cut into small pieces (~1 in pieces) 1 cup plain yogurt 1 tsp Red Chili Powder 1 tbsp Salt (or as per taste) 1 tsp Turmeric 1 tsp Cumin Powder 1 tsp Coriander Powder 0.5 tsp Garam Masala 3 garlic cloves minced 1  small piece of ginger minced (~.5 oz) Mix all the ingredients in a bowl and keep overnight …

Read moreAwesome Spicy Chicken Curry Recipe

Transit in ORD?

If you have a transit in ORD, be sure to check its close enough to your arriving gate. As an example, I arrived at gate L4 which is in terminal 3. My connection to SFO was in terminal 2 gate C27. It’s very very far from L4. With only 25 mins between transit, I walked half way and ran the other half, and still couldn’t get there on time. Therefore, prefer to have the next …

Read moreTransit in ORD?

Fort Wayne International Airport

Fort Wayne International Airport is a small airport that provides regional connectivity to next bigger airports or hubs such as Chicago. When you arrive at the airport you can park at short term parking which is free for first 30 mins. There is also long term parking although I don’t know the rates for that. Being a small airport, expect short TSA lines.  During my last trip I was the only person in the line. …

Read moreFort Wayne International Airport

Coco & Max road trip to Indy

We took coco and max to Indy today for Mother’s Day lunch. It was their first road trip. They were a good sport about the car ride. Over in Indy, they met many people including kids and adults. Overall good day for socialization.