惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
P
Proofpoint News Feed
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
Vercel News
Vercel News
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 聂微东
D
DataBreaches.Net
酷 壳 – CoolShell
酷 壳 – CoolShell
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
美团技术团队
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
C
Check Point Blog
U
Unit 42
博客园 - 叶小钗
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
MongoDB | Blog
MongoDB | Blog

博客园 - 余昭(Ray)

AI 编程实战营毕业总结 解决github访问速度慢的问题 使用交互界面配置centos网络(NMTUI) 银河麒麟安装达梦数据库失败Unable to load native library: libnsl.so.1: cannot open shared object file: No such file or directory Net5中使用Swagger 编译Windows 版本的Redis 6.x TypeScript入门 NetCore使用Nlog记录日志 搭建docker本地仓库 NT Kernel & System (ntoskrnl)占用80端口 简单的验证码识别 使用SSH配置git服务器免密提交 QuickStart系列:docker部署之Gitlab本地代码仓库 https环境搭建(本地搭建) docker搭建elk 使用本机IP调试web项目 本地调试微信(内网穿透) ElasticsearchCRUD翻译系列之(一): ElasticsearchCRUD 介绍 阿里云Oss对象存储 asp.netmvc部署到linux(centos)
QuickStart系列:Docker部署PostgreSQL
余昭(Ray) · 2019-12-03 · via 博客园 - 余昭(Ray)

 docker镜像地址: https://hub.docker.com/_/postgres/

https://www.widuu.com/chinese_docker/examples/postgresql_service.html

docker run --name some-postgres -e POSTGRES_PASSWORD=yz@10086 -v /opt/data/postgresql:/var/lib/postgresql/data -d postgres

其中: POSTGRES_PASSWORD是密码,默认用户名是 postgres。 /opt/data/postgresql 是持久化数据的目录。 默认端口号5432

不支持远程访问,需要另外配置 ?