CentOS7 に Docker をインストールし、CentOS7コンテナ上で Apache を起動する はじめに 今更感がありますが、ちょっと Docker を使うことになりそうなので、CentOS 7 に Docker をインストールして、コンテナにも CentOS 7 と Apache をインストールしてみます。 Docker Engine のインストールと起動 CentOS 7 は既にインストールされているものとして、Docker Engine をインストールします。 Docker Engine は、CentOS では EPEL リポジトリに「docker-io」パッケージが用意されているので、まず EPEL リポジトリを追加します。 # yum -y install epel-release.noarch 次に、EPEL リポジトリを必要時のみ利用するように、EPEL リポジトリ