Skip to content

Instantly share code, notes, and snippets.

View jaybuidl's full-sized avatar
📐

jaybuidl jaybuidl

📐
View GitHub Profile
@jaybuidl
jaybuidl / scp-docker-data-volumes.sh
Created January 10, 2017 10:37
Copies all the local docker data volumes to a new machine via ssh
#/!bin/bash
[ $# -lt 1 ] && echo "usage: $(basename $0) <target_ssh_user@target_ssh_hostname>" && exit 1;
target="$1"
docker pull alpine
for volume in $(docker volume ls -q)
do
!#/bin/bash
git remote add github [email protected]:SeekersAdvisorsLabs/NEW_REPO.git
git push -u github master ; git push --all github; git push --tags github