mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-05-30 23:36:12 +08:00
Update docker_build.md
This commit is contained in:
@@ -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
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user