2017-03-02 docker, bash, coffee

less than 1 minute read

docker reboot

Every once and a while for prem docker installation a reboot is needed. There are some tools out there that can most likely do this, but today a quick and dirty bash script solved the problem.

Step one dump all the running container IDS, today there were about 23 containers running. docker ps -q >>ids

Next reboot sudo reboot Finally the bash script to quickly spin them all back up. It reads the source file that was created in the earlier step and does a simple docker start <id> and done.

while IFS= read -r var
  docker start "$var"
done < "$input"

coffee roasting

Successfully roasted coffee tonight. It only took 10 iterations in order to get it right. This was done on my heavily modified popcorn popper with full manual control for heat and blower. I did a quick blog post write up on medium about it successfully-roasting-your-own-coffee