1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
5
The following article may help you to access container server logs
AWS LightSail does not directly support the viewing of logs from your containers. However, you can set up logging in your application and then access those logs.
One possible approach is to log your application data to stdout and stderr. Many Docker base images (including official images for languages like Node.js, Python, Ruby, etc.) are set up to log information to these output streams by default. AWS Lightsail containers will capture stdout and stderr from your container and make it available in the AWS Management Console and the Lightsail API.
관련 콘텐츠
- AWS 공식업데이트됨 3년 전
- AWS 공식업데이트됨 2년 전