If an error occurs in your container, you can view the events and logs of the container to troubleshoot the error. This topic describes how to view the events and logs of an Elastic Container Instance (ECI).
Log on to the ECI console.
On the Elastic Container Instance page, click the container group for which you want to view the logs.
On the details page that appears, you can view the information about the target container group.
View the events.
Click the Event tab. On this tab, you can view the latest 50 events of the current container group.
View the logs.
Click the Logs tab. On this tab, you can select a container and view the logs of the selected container. You can also specify a time to view the logs that are generated after that time.