VIC Container Management Portal Stops Showing Console Logs After 30 Minutes
book
Article ID: 340133
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
Symptoms:
Logs disappear in Admiral for containers after about 30 minutes.
Restarting the container shows the console logs again temporarily.
Environment
VMware vSphere Integrated Containers 1.x
Resolution
This is a known issue at this time and will be addressed in future versions of the product.
Workaround:
Use the docker client to view the container logs.
From docker client run the following:
docker -H <VCH_IP>:2376 --tls ps
Make note of the CONTAINER ID of the container you need to review the logs for.
docker -H <VCH_IP>:2376 --tls logs <CONTAINTER ID>
Additional Information
Primary page for vSphere Integrated Containers:
https://docs.vmware.com/en/VMware-vSphere-Integrated-Containers/index.html
Container Commands:
https://vmware.github.io/vic-product/assets/files/html/1.4/vic_app_dev/container_operations.html#container
Docker logs commands:
https://docs.docker.com/engine/reference/commandline/logs/
Feedback
thumb_up
Yes
thumb_down
No