试试OCI容器实例
首先
由于OCI推出了Container Instance作为其新服务,并且已经正式推出,因此我立即开始尝试。
例子的配置
从OCI控制台选择开发者服务,选择容器实例。

点击创建容器实例。

本次我进行了如此设定,请点击下一个。

使用预先构建的容器映像进行设定。
这次我们将使用公共的nginx。
点击下一步来选择图像。

点击“创建”。

等待片刻,将会为实例和容器进行配置。

确认行动
通过外部访问容器(nginx)。
curl http://132.145.xxx.xxx
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>
<p><em>Thank you for using nginx.</em></p>
</body>
</html>