Linux Parsing docker (1.8) volume info Volume inspect information was changed in Docker version 1.8 from a "Volumes" list to a new "Mounts" array. See my previous volume parsing post for parsing on Docker <=1.7 Getting a list of volume paths The Mounts
Linux Waiting for Docker containers Ever tried to spin up two Docker containers, one depending on the other, only to find out the port(s) of the first container aren't actually up and running yet causing the second container to fail to start up? Wait wait For a while
Linux Recurring task with systemd I know, I know, cron is much easier but I was playing around with systemd and timers were one of the things that weren't very clear to me. So this is what I finally ended up with to run several backup tasks every sunday
Linux Luks unlock with SSH or USB Unlocking a full disk encrypted Ubuntu/Debian system with SSH or USB flash drive I've started encryping my home server long before it was a next next next install option in Ubuntu and Debian. At some point I added USB unlocking with an old
Linux XBMC/Kodi and SMB access denied Oh no, access denied So I was trying Kodi on a new Android device I got (WeTek Play) and soon ran into a problem where I couldn't access my password protected SMB shares on my linux server where my media is stored. Kodi would
Linux Cleaning up after Docker So I've been playing around with Docker containers for a while now and really like it. In fact this blog is running in a Docker container right now. But Docker sure leaves a mess behind on disk. One of the things it tends to
How-to Getting nano back after ctrl-z When editing a file in nano I tend to hit ctrl-z to attempt to undo an edit but when you press ctrl-z in nano it dumps you back in the shell... very confusing... and very annoying because I do this all the time and
Linux Parsing docker volume info Getting a list of volume paths To list all volumes and associated paths for a docker (1.5.0) container, using go templating: docker inspect --format='{{range $vol, $path := .Volumes}}{{$vol}} - {{$path}}{{"\n"}}{{end}}' <container name or id&
How-to Enter the docker Neat little tool to get a shell into a docker container so you don't have to install additional services like sshd in your containers and keep your containers single service only. Run this once: sudo docker run -v /usr/local/bin:/target jpetazzo/nsenter