Build docker engine on Fedora

It’s not that hard, here are a couple pain points:

  • make sure that GOPATH is right — you want to compile against your checked out docker, not master docker

    Keep reading

How hard is it to get a digest of a docker image's manifest?

Update (October 13th): The encoding mismatch is made on purpose as described in this issue. The current work is present in this repo.

So I needed to get a digest of a manifest. Manifest is a text file in JSON format which contains metadata for a docker image. Manifest is part of v2 docker registry API.

We want to have this functionality (f(manifest) → digest) in pulp so I needed to do that in python. I guess it would pretty easy to do in Go because I would be able to use code from distribution directly.

Keep reading

hugo + netlify = ❤

So I migrated my blog to hugo and am hosting it on netlify.

All I can say is…

Keep reading

Running chromium in docker container

I’ve just managed to dockerize chromium. The package itself is taken from spot’s copr repo. Jessie Frazelle’s blog post helped me a lot!

It looks like this:

Keep reading

Fuzzy text search with trigrams in postgresql

Using postgres for fuzzy searches.

We’ll try to match arbitrary beer names to ones in our DB. Let’s create table first:

Keep reading

Compiling kernel on gentoo

I’ve just updated to kernel 3.17. I compiled the kernel, installed it, generated initramfs, updated grub.cfg and rebooted my PC. I was unpleasantly surprised by:

Keep reading