提交 7aa43a0b 编写于 作者: L Liangliang He

Update docker/README.md

上级 016a408f
......@@ -2,21 +2,26 @@ Development Docker Image
========
* Login in Xiaomi Docker Hub
```
docker login docker.d.xiaomi.net
```
```
docker login docker.d.xiaomi.net
```
* Build the image
```
docker build -t docker.d.xiaomi.net/mace/mace-dev .
```
```
docker build -t docker.d.xiaomi.net/mace/mace-dev .
```
* Push the image to Xiaomi Docker Hub
```
docker push docker.d.xiaomi.net/mace/mace-dev
```
```
docker push docker.d.xiaomi.net/mace/mace-dev
```
* Pull and run the image
```
# Set 'host' network to use ADB
docker run -it --net=host docker.d.xiaomi.net/mace/mace-dev /bin/bash
```
```
# Set 'host' network to use ADB
docker run -it --net=host docker.d.xiaomi.net/mace/mace-dev /bin/bash
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册