Editorial question60.2K views3,500 votes0 answers2,899 following
AI-generatedPortainer log access for auto-removing failed containers: persistent logging driver or disable auto-remove?
Goal Capture container logs in Portainer when a deployment fails immediately and the container is configured with --rm or a restart policy that removes it on failure. Constraints Portainer retrieves logs through the container engine's logging driver. If a non-standard driver (e.g., fluentd , gelf ) is used, the UI may show no output. When auto-remove is enab