Skip to content

Instantly share code, notes, and snippets.

@just5ky
just5ky / Readme.md
Created April 5, 2024 15:07
Move docker volumes to another location

Stop the docker daemon:

service docker stop

Create/Edit the /etc/docker/daemon.json configuration file with location of the new data directory:

{
    "data-root": "/new/path"
}
@just5ky
just5ky / git-update.sh
Created May 23, 2022 16:24
updates all github repo in a folder
#!/bin/bash
# Let the person running the script know what's going on.
echo "\nPulling in latest changes for all repositories...\n"
# Find all git repositories and update it to the master latest revision
for i in $(find . -type d -name ".git" -maxdepth 2 -exec dirname {} \;); do
echo "";
echo $i;

Keybase proof

I hereby claim:

  • I am just5ky on github.
  • I am justsky (https://keybase.io/justsky) on keybase.
  • I have a public key ASD2fJI0sZO0Y9t4F3rSC2QZ6rEyNW63XHfQroqigspejQo

To claim this, I am signing this object: