docker启动不了activemq如何解决
问题描述:开启虚拟机,通过docker images查看容器运行情况可以看出ActiveMQ的容器ID为3af156432993于是启动容器:出现了如下问题:[root@localhost etc]# docker run3af1564329932020-11-16 07:00:03,422 CRIT Supervisor running as root (no user in config fi
·
问题描述:
开启虚拟机,通过docker images查看容器运行情况
可以看出ActiveMQ的容器ID为
3af156432993
于是启动容器:
docker run 3af156432993
出现了如下问题:
[root@localhost etc]# docker run 3af156432993
2020-11-16 07:00:03,422 CRIT Supervisor running as root (no user in config file)
2020-11-16 07:00:03,422 WARN Included extra file "/etc/supervisor/conf.d/activemq.conf" during parsing
2020-11-16 07:00:03,422 WARN Included extra file "/etc/supervisor/conf.d/cron.conf" during parsing
2020-11-16 07:00:03,438 INFO RPC interface 'supervisor' initialized
2020-11-16 07:00:03,438 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-11-16 07:00:03,438 INFO supervisord started with pid 1
2020-11-16 07:00:04,441 INFO spawned: 'cron' with pid 15
2020-11-16 07:00:04,443 INFO spawned: 'activemq' with pid 16
2020-11-16 07:00:05,722 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-11-16 07:00:05,722 INFO success: activemq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
光标一直在闪
光标一直依旧在闪
解決方案:
1.先CTRL+C
停止命令
2.运行 docker start 容器名称
我这里使用
docker start myactivemq
如下效果展示
启动成功!!!
问题所在:docker中run和start的区别
docker run -----》 指定的是一个镜像,利用镜像生成容器
docker start-----》指定的是一个容器,启动一个之前生成过的容器
更多推荐
已为社区贡献3条内容
所有评论(0)