edit-icon download-icon

Paths and command reference

Last Updated: Jan 29, 2018
  • EDAS console: https://edas-intl.console.aliyun.com

  • Image repository console: https://cr.console.aliyun.com

  • Image network accelerator: https://cr.console.aliyun.com/#/accelerator

  • Docker quick installation: https://cr.console.aliyun.com/#/accelerator

  • Log on to the image repository (China East 1 (Hangzhou)):

    docker login —username=**@aliyun.com registry.cn-hangzhou.aliyuncs.com`
  • Log on to the image repository (China North 2 (Beijing)):

    docker login —username=**@aliyun.com registry.cn-beijing.aliyuncs.com
  • Pull the packaged image (demo of this guide):

    docker pull registry.cn-hangzhou.aliyuncs.com/edas/demo-frontend-service:20161111
  • Pull the basic image (V3.2):

    docker pull registry.aliyuncs.com/edas/edas-container:3.2
  • Pull the basic image (V3.0):

    docker pull registry.aliyuncs.com/edas/edas-container:3.0.0
  • Reset the packaging environment:

    docker rm -f -v edas-build-package
  • Create a packaging environment:

    docker run —name edas-build-package -d —restart=always registry.aliyuncs.com/edas/edas-container:3.0.0
  • Package a locally published file (Dockerfile):

    docker build -t demo-frontend-service:20161111 -f /tmp/Dockerfile . && docker tag demo-frontend-service:20161111 registry.cn-hangzhou.aliyuncs.com/edas/demo-frontend-service:20161111`

  • Package a locally published file (container):

    export IMAGE_ID=`docker ps -a -f name=edas-build-package —format {{.ID}} | docker commit $IMAGE_ID registry.cn-hangzhou.aliyuncs.com/edas/demo-frontend-service:20161111
  • Remotely push the package:

    docker push registry.cn-hangzhou.aliyuncs.com/edas/demo-frontend-service:20161111
  • Log on to the packaging environment:

    docker exec -it edas-build-package bash
  • Download the network file:

    wget https://www.taobao.com/robots.txt
  • Publish a WAR package (in Dockerfile mode):

    1. FROM registry.aliyuncs.com/edas/edas-container:3.2
    2. ADD /tmp/edas-app.war /home/admin/taobao-tomcat-production-7.0.59.3/deploy/
  • Publish a WAR package (in container mode):

    docker cp /local WAR package path/app.war edas-build-package:/home/admin/taobao-tomcat-production-7.0.59.3/deploy/
Thank you! We've received your feedback.