docker安装redis


下载redis镜像docker pull redis:6.0.8下载redis镜像docker run -p 6379:6379 --name redis -d redis:6.0.8 --requirepass 123456 --appendonly yes-p 设置端口映射6379:6379 前

docker 常见使用命令

docker 

dockerrun--namemyes-d-p9200:9200-p9300:9300-eES_JAVA_OPTS="-Xms512m-Xmx512m"-v/opt/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/

centos7安装dorker

docker 

https://www.cnblogs.com/yufeng218/p/8370670.html