一、实验环境
1、宿主机OS:Win10 64位
2、虚拟机OS:Ubuntu18.04,虚拟机名称:Ubuntu18VM1,虚拟机IP:192.168.8.25
3、操作账号 :Docker
4、在虚拟机上已安装Docker
二、安装
简要步骤:
1.搜索镜像 sudo docker search activemq
2.下载镜像 sudo docker pull webcenter/activemq
3.查看下载的镜像 sudo docker images webcenter/activemq
4.创建并启动容器 sudo docker run -d --name myactivemq -p 61617:61616 -p 8162:8161 webcenter/activemq:latest
5.检查,从浏览器查看 http://192.168.8.25:8162
安装过程图片参考:
step1: 搜索镜像
step2: 下载镜像
step3:查看下载到本地的镜像
step4:创建并运行容器
step5:从浏览器查看,http://192.168.8.25:8162
至此,安装完毕