diff --git a/docker/README.md b/docker/README.md index d5c919e419baf10ea961c29cc6bd422a487922cb..7ef46679bf4af1d7e73471bb1f6a9312b869160f 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,27 +1,3 @@ -# 包含mace环境的docker镜像 -======== +# Usage -* Login in [小米容器仓库](http://docs.api.xiaomi.net/docker-registry/) - - ``` - docker login cr.d.xiaomi.net - ``` - -* 使用`Dockerfile`编译镜像 - - ``` - docker build -t cr.d.xiaomi.net/mace/mace-dev . - ``` - -* 或者从镜像仓库直接pull镜像 - - ``` - docker push cr.d.xiaomi.net/mace/mace-dev - ``` - -* 启动容器 - - ``` - # Set 'host' network to use ADB - docker run -it --rm -v /local/path:/container/path --net=host cr.d.xiaomi.net/mace/mace-dev /bin/bash - ``` +Wiki url: [http://v9.git.n.xiaomi.com/deep-computing/mace/wikis/Docker%20Environment/Usage](http://v9.git.n.xiaomi.com/deep-computing/mace/wikis/Docker%20Environment/Usage)