redhat6_docker_redmine

nedit /etc/yum.repos.d/docker.repo&

[dockerrepo]

名=ドッカーリポジトリ

BASEURL = HTTPS://yum.dockerproject.org/repo/main/centos/6/は

= 1有効

gpgcheck = 1

gpgkey = HTTPS ://yum.dockerproject.org/gpg




yumのアップデート
はyum -yドッカ・エンジンのインストール



ドッキングウィンドウの実行を--name = Redmineの-d --link =のpostgresql-記法:postgresqlの--publish = 10083:80 --env = 'REDMINE_PORT = 10083' --env = 'SMTP_HOST = smtp.exmail.qq.com' --env = 'SMTP_METHOD = = 465 '--env = 'SMTP_USER async_smtp' --env =' SMTP_PORT =' --env = 'SMTP_PASS =」-e TZ = "アジア/上海" -vは/ etc / localtimeの:の/ etc / localtimeの:RO --volume = / srvの/ドッキングウィンドウ/記法/ Redmineの:/ホーム/ Redmineの/データsameersbn / Redmineの

ドッキングウィンドウの実行--name =のpostgresql-Redmineの-d --env = 'DB_NAME = redmine_production' --env = 'DB_USER = Redmineの' --env = 'DB_PASS =パスワード' -e TZ = "アジア/上海" -v /など/ localtimeの:の/ etc / localtimeの:RO --volume = / srvの/ドッキングウィンドウ/記法/ postgresqlの場合:/ var / libに/ postgresqlのsameersbn / postgresqlの:9.4から21




ドッカ実行--name =のpostgresql-Redmineの-it --env = 'DB_NAME = redmine_production' --env = 'DB_USER = Redmineの' --env = 'DB_PASS =パスワード' -e TZ = "アジア/上海" -vは/ etc / localtimeの:の/ etc / localtimeの:RO --volume = / SRV /ドッキングウィンドウ/記法/ postgresqlの場合:/ var / libに/ postgresqlのsameersbn / postgresqlの:9.4から21

おすすめ

転載: www.cnblogs.com/xuxian007/p/12027811.html