标签:安装 com bin UNC data 进入 password host uri
Docker安装Orange_APIdocker run --name orange-database -e MYSQL_ROOT_PASSWORD=your_root_pwd -p 3306:3306 mysql:5.7
docker exec -it orange-database /bin/bash
CREATE DATABASE orange;
CREATE USER ‘orange‘@‘%‘ IDENTIFIED BY ‘orange‘;
GRANT ALL PRIVILEGES ON orange.* TO ‘orange‘@‘%‘;
docker run -d --name orange --link orange-database:orange-database -p 7777:7777 -p 8888:8888 -p 9999:9999 --security-opt seccomp:unconfined -e ORANGE_DATABASE=orange -e ORANGE_HOST=orange-database -e ORANGE_PORT=3306 -e ORANGE_USER=orange -e ORANGE_PWD=orange syhily/orange
注意:-p 8888:8888 \ 官方使用的是-p 8888:80 \
标签:安装 com bin UNC data 进入 password host uri
原文地址:http://blog.51cto.com/haowen/2347220