docker run --name mongo -p 27017:27017 -v /Users/hcy_fly/Desktop/mongo:/data/db -d mongo 转载于:https://www.cnblogs.com/hcy-fly/p/9956584.html