Docker-testserver-new

docker run --name centos-testserver-new -d
--link mariadb-server-new:tester-db
--publish 20002:22
--publish 20003-20100:20003-20100
--volume /srv/docker-zwxpay-data/centos-testserver-new:/home
centos/testserver-jdk1.8

docker run --name centos-testserver-new-one -d
--link mariadb-server-new:tester-db
--publish 20101-20200:20101-20200
--volume /srv/docker-zwxpay-data/centos-testserver-new-one:/home
centos/testserver-jdk1.8

docker run --name centos-testserver-new-two -d
--link mariadb-server-new:tester-db
--publish 20201-20300:20201-20300
--volume /srv/docker-zwxpay-data/centos-testserver-new-two:/home
centos/testserver-jdk1.8

测试主管服务器

docker run --name centos-testserver-zgy -d
--link mariadb-server-new:tester-db
--publish 20302:22
--publish 20303-20400:20303-20400
--volume /srv/docker-zwxpay-data/centos-testserver-zgy:/home
centos/testserver-jdk1.8

docker run --name centos-testserver-lh -d
--link mariadb-server-new:tester-db
--publish 20402:22
--publish 20403-20500:20403-20500
--volume /srv/docker-zwxpay-data/centos-testserver-lh:/home
centos/testserver-jdk1.8

你可能感兴趣的:(Docker-testserver-new)