�出一个镜像：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ docker build -t $USER/ratings .
...
Step 9/9 : CMD node /opt/microservices/ratings.js 9080
---&gt; Using cache
---&gt; 77c6a304476c
Successfully built 77c6a304476c
Successfully tagged user/ratings:latest
</code></pre></li><li><p>在 Docker 中运行 <code>ratings</code> 服务. 接下来的 <a href=https://docs.docker.com/engine/reference/commandline/run/>docker run</a> 命令
指示 Docker 将容器的 <code>9080<