Dokku and Docker

Reading time ~1 minute

A few months ago, I wanted to try out Docker, so I installed Dokku-alt on a DigitalOcean VPS. Dokku is basically Heroku on Docker. You push your git repo to a repo on your Docker server, and Dokku will make a container for that app. It’s easy to create containers and link them together, like Node+MariaDB.

The downside is that it’s annoying to customize. Example: Dokku’s default Postgres container uses 9.1 and the encoding is SQL_ASCII. If you want to use 9.4 and UTF8, you would have to dig through the plugin system, and manually edit them. If you’re going to put in the time to read through the Dokku documentation and code, you might as well RTFM and use Docker proper. I’m not the only one that feels this way. Check out this thread on Hacker News.

I ended up using Docker Compose, which makes it easy to create containers and link them together. It doesn’t do it in one line, like Dokku, but the tradeoff is that you get to customize the containers. Dokku also automatically creates the subdomain in nginx for your new service. So if you use Docker Compose, you’ll have to manually edit the nginx.conf.

Fun with Flash : XSS in JW Player v3 and v4

## SummaryJW Player v3.16 and v4.3 have an XSS vulnerability. It's not serious, though, since it requires user interaction to cause the ...… Continue reading

The OSCP And Me

Published on December 17, 2016

RestKit and MagicalRecord

Published on March 15, 2015