Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
AWS does not rebuild the image, AWS restarts the container if it has completed.
Your container is most likely writing logs to stdout.
Log in to the instance via SSH, then do docker ps -a
, you will see the just completed container there. AWS used to leave them, but now, due to the update of the ECS agent, apparently, it cleans them up, so you may not see your container.
If the old container still remains, then you can still see its logs - docker logs <container_id>
However, it is advisable to attach an external logging service, such as LogEntries, Papertrail or other similar systems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question