wuran_beijing 2016-05-09 03:50 采纳率: 0%
浏览 1464
已结题

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

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥15 seatunnel-web使用SQL组件时候后台报错,无法找到表格
    • ¥15 fpga自动售货机数码管(相关搜索:数字时钟)
    • ¥15 用前端向数据库插入数据,通过debug发现数据能走到后端,但是放行之后就会提示错误
    • ¥15 python天天向上类似问题,但没有清零
    • ¥30 3天&7天&&15天&销量如何统计同一行
    • ¥30 帮我写一段可以读取LD2450数据并计算距离的Arduino代码
    • ¥15 C#调用python代码(python带有库)
    • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型
    • ¥15 vs2019中数据导出问题
    • ¥20 云服务Linux系统TCP-MSS值修改?