mirror of
https://github.com/spiritLHLS/one-click-installation-script.git
synced 2024-11-16 02:22:18 +08:00
Update README.md
This commit is contained in:
parent
913523fdcd
commit
fba366e073
|
@ -354,6 +354,12 @@ docker-compose --version
|
|||
docker rm -f $(docker ps -aq); docker rmi $(docker images -aq)
|
||||
```
|
||||
|
||||
删除累积的docker日志
|
||||
|
||||
```
|
||||
cd /var/lib/docker/containers/ && for container_id in */; do container_path="/var/lib/docker/containers/${container_id}"; log_file="${container_id%/}-json.log"; rm -rf "${container_path}${log_file}" && echo "已删除 ${container_path}${log_file}"; done
|
||||
```
|
||||
|
||||
### 通过docker安装code-server
|
||||
|
||||
安装
|
||||
|
|
Loading…
Reference in New Issue
Block a user