我应该记住链接容器的步骤以及我应该使用什么网络模式。假设我想在localhost上公开容器:5000。我已经把我的码头图像推到ECR了。我想知道应该分别对python和redis做什么端口映射。Dockerfile python:ADD ./codeRUN pip install -r requirements.txtDockerfile redis:
From red
/:/opt The Dockerfile FROM python:3.6-alpine3.10
Creating network "nyc_default" with the default driverStep 1/2 : FROM python3.6-alpine3.10
---> 92a867c54c0