1

docker安装镜像jordan/icinga2进不去该镜像目录

各位大神,在docker上pullubuntu进入ubuntu文件系统完全没问题,用的是“-i -t”交互式模式;同理在docker hub上拉取镜像jordan/icinga2时,使用命令“
docker run -p 80:80 -t jordan/icinga2:latest”到一个地方卡住了:
但是应用是可以访问的:网址“http://121.194.63.96/icingaweb2”
启动打印信息如下,如果ctrl+C就进去的是宿主机,但是我想进去icinga2的文件系统目录修改配置文件。求助啊!!!!
[root@jsjxy-ross-system-29 ~]# docker run -p 80:80 -t jordan/icinga2:latest
Usage of loopback devices is strongly discouraged for production use. Either use --storage-opt dm.thinpooldev or use --storage-opt dm.no_warn_on_loop_devices=true to suppress this warning.
=>Generating new private key and certificate for this container...
information/cli: Generating new CA.
information/base: Writing private key to '/var/lib/icinga2/ca/ca.key'.
information/base: Writing X509 certificate to '/var/lib/icinga2/ca/ca.crt'.
information/cli: Generating new CSR in '/etc/icinga2/pki/5c80d038e890.csr'.
information/base: Writing private key to '/etc/icinga2/pki/5c80d038e890.key'.
information/base: Writing certificate signing request to '/etc/icinga2/pki/5c80d038e890.csr'.
information/cli: Signing CSR with CA and writing certificate to '/etc/icinga2/pki/5c80d038e890.crt'.
information/cli: Copying CA certificate to '/etc/icinga2/pki/ca.crt'.
information/cli: Adding new ApiUser 'root' in '/etc/icinga2/conf.d/api-users.conf'.
information/cli: Enabling the 'api' feature.
Enabling feature api. Make sure to restart Icinga 2 for these changes to take effect.
Done.

Now restart your Icinga 2 daemon to finish the installation!

information/base: Writing private key to '/etc/icinga2/pki/5c80d038e890.key'.
information/base: Writing certificate signing request to '/etc/icinga2/pki/5c80d038e890.csr'.
=>Finished cert generation
=>Initializing databases and icinga2 configurations.
=>This may take a few minutes
[ ok ] Starting MySQL database server: mysqld ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
[ ok ] Stopping MySQL database server: mysqld.

MySQL user 'root' has no password but only allows local connections
MySQL user 'debian-sys-maint' password set to 5jNJxAOzrlLFhrT
MySQL user 'icinga' password set to zg6OsxH4zzzYI7m
MySQL user 'icinga2-ido-mysq' password set to glNQk509lXEO9Os
MySQL user 'icinga-web' password set to vBkUWXMv1IUBya2
MySQL user 'icingaweb2' password set to pSWx5X9NVXcBG0w
MySQL user 'director' password set to uVJY7PKkxw0pM48
Director API password set to uF7pMeJU8eCJjaD

Icinga Web 2 (/icingaweb2) default credentials: icingaadmin:icinga

Starting Supervisor. You can safely CTRL-C and the container will continue to run with or without the -d (daemon) option

查看全部
wuran_beijing
wuran_beijing
2016/05/09 03:50
  • 点赞
  • 收藏
  • 回答
    私信

0个回复