【Ubuntu】docker报错:
You have to remove (or rename) that container to be able to reuse that name 查看启动进程 sudo docker ps -a 杀死进程 sudo docker rm -f 990fbc9e40fd
docker 运行 redis、mysql、consul
docker run -p 6379:6379 -v $PWD/data:/data -d redis redis-server --requirepass "123456" --appendonly yes docker run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql docker run --name consul -p 8500:8500 -v /tmp/consul/conf/:/consul/conf/ -v /tmp/consul/data/:/consul/data/ -d consul
标签:常用,--,consul,redis,指令,mysql,docker,data,Docker From: https://www.cnblogs.com/origin-zy/p/17141716.html