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"
}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"
}| #!/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; |
I hereby claim:
To claim this, I am signing this object: