Skip to content

Commit

Permalink
发布博客,时间:2024/10/22 17:27:51
Browse files Browse the repository at this point in the history
  • Loading branch information
whp98 committed Oct 22, 2024
1 parent 69968c7 commit d377cbe
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/Linux系统/迁移docker目录.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,21 @@ sudo vim /etc/docker/daemon.json
```shell
sudo systemctl daemon-reload
sudo systemctl restart docker
```

6.验证结果

```shell
docker info | grep root
docker ps
```

```shell
Docker Root Dir: /home/docker_lib
```

7.删除旧目录

```shell
sudo rm /var/lib/docker/ -rf
```

0 comments on commit d377cbe

Please sign in to comment.