docker

Run an Interactive Pod with Volumes

A container based on a secured image usually has no root access and no curl. So how would you get files into it, for instance to restore a backup to a database?…

Serve Files from Domain Root in Wordpress

Serving files without a folder in the path (i.e. www.domain.com/file.txt) can be tricky for a containerized installation of Wordpress, since the web root is not exposed as a volume. Custom 404 page to the rescue!…

Making a GPT2 Twitter Bot - Applied AI Part II

Learn how to train your own GPT2 model to generate text with Google Colab, and then turn it into a Twitter bot.…

The Horrible Process of Upgrading Ghost (A Couple of Major Versions)

Upgrading Ghost from version 2 is a major pain because of new database settings requirements. Here's how to fix your database to meet them.…

Moving Ghost to MySQL

Ghost uses SQLite by default, here's how to move it to a MySQL database.…

How to Reload Caddy Configuration Without Breaking All Your Sites

Here is a workaround to update Caddy configurations in a Docker container without have one bad config break all sites served.…

Setting up a RethinkDB cluster in Docker

I really like RethinkDB, and after a time of shaky waters they have no joined the Linux Foundation and we're hoping for a stable future. One of the big selling points of RethinkDB is how easy it is to set up a cluster of servers. Basically you do it like…

Shrink your virtual hard drive file in Docker for MacOS

I really like Docker for MacOS. Not having to explicitly run a virtual machine acting as your Docker host saves a lot of time and headaches. However, Docker for MacOS is still doing just that - running a virtual machine that is your Docker host. And as with all virtual…

How to use Caddy to get HTTP/2 support in Rancher

After having used Tutum and Docker Cloud for my hobby projects I've now switched to Rancher. It's basically the same thing as Docker Cloud, but it's self hosted and gives you better control (and a lower price tag). For those that don't know, Rancher is a Docker orchestration tool handling…