vault backup: 2024-07-08 18:40:03

This commit is contained in:
Janik von Rotz committed 2024-07-08 18:40:03 +02:00
1 parent 2b80b1c7dd
commit d065c3d7a5
1 file changed
+6 -2
@@ -18,14 +18,14 @@ Create a config file **/etc/docker/daemon.json**
```json
{
"data-root": "/mnt/server-disk2/docker"
"data-root": "/mnt/sdb/docker"
}
```
Copy the current directory to the new directory.
```bash
sudo cp -rp /var/lib/docker /mnt/server-disk2/docker
sudo cp -rp /var/lib/docker /mnt/sdb/docker
```
Rename the old directory.
@@ -42,6 +42,10 @@ sudo service docker start
Test if all services work as expected.
```bash
docker ps -a
```
If everything is good, remove the old Docker directory.
```bash