Skip to content

Commit 0129542

Browse files
committed
update docker doc
1 parent 9044e14 commit 0129542

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

docker/README.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,25 @@
55
## 目录
66
myframe安装目录:`/usr/local`
77

8-
## 构建docker镜像
8+
## docker操作
99
```sh
1010
# eg:
11+
# arch: < aarch64 | amd64 >
1112
# myframe_version: 0.9.1
13+
14+
## 构建docker镜像
1215
bash docker_build.bash <myframe_version>
13-
```
1416

15-
## 构建好的docker镜像
16-
```sh
17-
docker pull docker.io/likepeng0418/myframe:<myframe_version>
18-
```
17+
## 下载docker镜像
18+
docker pull docker.io/likepeng0418/myframe:<arch>-<myframe_version>
1919

2020
## 创建运行docker容器
21-
```sh
2221
docker run -itd \
2322
--name "myframe_run" \
24-
myframe:${<myframe_version>} \
23+
myframe:${<arch>-<myframe_version>} \
2524
/bin/bash
26-
```
2725

2826
## 进入docker容器
29-
```sh
3027
docker exec -it \
3128
-it "myframe_run" \
3229
/bin/bash

0 commit comments

Comments
 (0)