MongoDB在Docker中安装以及设置远程连接
[lj@localhost ~]$ sudo docker search mongo
[lj@localhost ~]$ sudo docker pull mongo: latest
[lj@localhost ~]$ sudo docker images
[lj@localhost ~]$ sudo docker run --name mymongodb -p 27017:27017 -itd mongo
[lj@localhost ~]$ sudo docker ps
[lj@localhost ~].
原创
2020-07-30 14:17:44 ·
487 阅读 ·
0 评论