How to run 2 wordpress blogs using docker on ec2

亡梦爱人 提交于 2019-12-02 21:08:20

Hareem asked his question a while back, and there don't seem to be any good answers yet. I'm a noobie as well, and I too want to learn how to use a generic wordpress container that I can push to Amazon or test locally. I'm very new to docker, so this seems like a tall order!

Goal

For now, I'll start collecting some resources here. Maybe they will help Hareem, and others like myself. This document will turn into a complete answer, or prompt someone else to give their version of an answer (which I'm sure is not quite so complex.)

The Docker.io Index

First, the Docker index is a repository of already existing Docker.io components. Of these, there is a wordpress unit that seems relevant here:

Docker on EC2

There is as yet no official Docker support for Ec2. However, the Docker community suggests an install path using a tool called Vagrant. The instructions for this live here:

Work In Progress

This is not a complete answer to the question. As of right now this only presents a couple of easy to locate resources, and perhaps goes against guidelines. Please bear with this!

Things that need to be answered:

  • How do we run / test the wordpress container(s) locally?
  • How do we push the container(s) up to the EC2 instance?
  • How do we wire the EC2 wordpress containers up to their own domains?

Hopefully I will answer these questions - contributions and forks are welcome. I think Hareem's question is worth answering!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!