Update docker_build.md

This commit is contained in:
spiritlhl
2023-06-18 17:35:59 +08:00
committed by GitHub
parent ac2f7ab1d9
commit cdc394f381

View File

@@ -1,3 +1,5 @@
# Docker虚拟化
## 单独开设
下载脚本
@@ -22,7 +24,7 @@ curl -L https://ghproxy.com/https://raw.githubusercontent.com/spiritLHLS/docker/
目前system仅支持选择alpine或debian默认是debian
### 示例
## 示例
* 以下为开设的示例容器的信息:
`容器名字` - test
@@ -54,7 +56,7 @@ docker exec -it test /bin/bash
要退出容器就执行```exit```退出。
### 查询信息
## 查询信息
```shell
cat 容器名字
@@ -103,4 +105,4 @@ cat dclog
docker rm -f $(docker ps -aq); docker rmi $(docker images -aq)
rm -rf dclog
ls
```
```