Posts tagged as docker

I recently decided to jump into the object storage revolution (yeah, I'm a little late). This drive comes from my very old archives I'd like to store offsite but also to more easily streamline how I deploy applications which have things like dat…

Sometimes, you need an application to run at a scheduled time. Ideally, it would be a really cool feature if you could merely tell the docker daemon to do this via some sort of schedule: * 1 * * * in your docker-compose.yml. Sadly this isn't rea…

Today I started writing up a backupninja container for work. This container needs to be able to: Login into some of our prod boxes Store backup data on an NFS share The logical choice for handling the back-end was to use autofs because of its ab…

A lot of people don't get the difference to this and I think creack over at stackoverflow did a great job explaining this: Docker has a default entrypoint which is /bin/sh -c but does not have a default command. The command is run via the…

I needed a quick and dirty way to allow a non-root user to use lower ports. This is because I'm starting to launch docker containers where the CMD process is run as a non-root user. The first container I thought this might work well for is my do…

An excellent article sent to me by a friend pointing out some of the important things to do/remember when creating Dockerfiles. You should also check out: Official Docker documentation best practices Michael Crosby's take 2 Some key things to re…

This isn’t as easy as you think…a normal du -h doesn’t work on /var/lib/docker. This is because of the aufs filesystem docker uses that du by default skips. The proper way to figure out how much space is actually being used involves a few more a…