docker安装redis
docker pull redis
配置文件:redis.conf
#允许外网访问
bind 0.0.0.0
daemonize NO
protected-mode no
requirepass 235689
docker run -p 6379:6379 --name finalredis -v /usr/local/redis.conf:/etc/redis/redis.conf -v /usr/local/docker/data:/data -d redis redis-server /etc/redis/redis.conf --appendonly yes
activemq进入到docker控制台
docker exec -it activemq /bin/bash