标签:repo nbsp docker library epo shang span timezone dir
docker build --tag wa2-server:latest . docker kill wa2-server docker run --rm --name wa2-server -p 8087:8088 -v $(pwd)/logs:/logs -v $(pwd)/dir:/dir -d wa2-server
进入docker,以sh server.sh命令打开
dockerFile
FROM repo1.xqopen.cn:9443/library/java:8-jre ADD wa2-server.jar /wa2-server.jar CMD ["java", "-Duser.timezone=Asia/Shanghai", "-jar", "wa2-server.jar"]
标签:repo nbsp docker library epo shang span timezone dir
原文地址:http://www.cnblogs.com/DaTouDaddy/p/6893576.html