7
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

OCI ComputeでDocker版Nginxを構築する方法 (HTTP/HTTPS対応)

7
Last updated at Posted at 2021-05-11

OCI(Oracle Cloud Infrastructure) Computeインスタンスで、Nginx Dockerコンテナを構築する方法(HTTP/HTTPS対応)をご紹介します。

image.png

【お知らせ】
この記事の最新版は、個人ブログ「OCI Tech Journal」で公開しています。ぜひご覧ください。👉 https://oci-tech.jp/oci-nginx-docker-setup/

事前準備
Computeインスタンスを用意しておきます。(Oracle Linux 7.9を例に)
今回の例は、インターネットからのアクセスは必要で、Computeインスタンスをパブリック・サブネットに配置し、Internet GWを設定します。
セキュリティ・リストのIngress Ruleに、TCP 8080/8081ポートを許可します。
OCI Registryを利用するため、認証トークン(Auth Token)を事前に用意してください。作成方法は、ドキュメントをご参考ください。ここで省略します。

目次

リンクから、詳細をご確認いただけます。


改定歴
2021/05/11: 初版作成
2023/02/16: 付録(Dockerfile)を追加
2023/02/17: 構成図を追加


関連記事
クラウド技術ブログ一覧
OCI ComputeでNginxをインストールする方法(複数OS・Cloud-init対応)
OCI コンテナ・インスタンスでNginxコンテナを実行する

オフィシャル・ドキュメント
Pushing Images Using the Docker CLI

7
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?