想让我妹妹也接触一下网络博文,于是给她在我的博客上加了一个ghost博客,使用docker容器安装
1. 操作环境
阿里云centos 7.3
2. 操作步骤
2.1. 安装docker
参考这篇文章
2.2. Pull Ghost镜像
docker pull ghost:latest2.3. 运行Ghost博客
docker run -d --name ghost -e url=http://www.kelevc.cn:1312 -p 1312:2368 ghost其中第一个ghost是一个容器名字,url后面接自己的地址与端口,我的80端口分配给了typecho博客,于是使用了1312端口
2.4. 其它操作
别忘了设置阿里云服务器的安全组,开放上面的1312端口

