I hereby claim:
- I am ratler on github.
- I am ratler (https://keybase.io/ratler) on keybase.
- I have a public key whose fingerprint is FAC0 8A38 5E8A CF20 A267 30BC 26CB F568 BD11 5DD6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
declare -a DEPENDENCIES | |
depends() { | |
local IMAGE DEPS | |
if [ $# -gt 1 ]; then | |
IMAGE=$1; shift | |
for dep in $@; do |
NOTE: make sure you export containers and images in separate directories or it's very likely there will be issues when importing or loading your backups using the following snippets
$ while read image container_id; do
docker export $container_id > ${image////_}-${container_id}.tar
done < <(docker ps -a -f status=exited | tail -n +2 | awk '{ print $2 " " $1 }')