Troubleshoot issues
Explore how to troubleshoot connection, logs, proxy, and registry related issues.
Abstract
Preface Copy linkLink copied to clipboard!
Troubleshooting guidance for critical Red Hat build of Podman Desktop operations includes:
- Connection or execution errors: Use integrated troubleshooting tools for log inspection, connection verification, and data store management to ensure optimal performance.
- Proxy configuration: Resolve installation barriers in restricted networks and VPN access issues, and learn how to route Podman machine traffic through a corporate proxy.
- Registries configuration: Fix authentication failures and access registries that use insecure or self-signed certificates.
- Container logs accessibility: Find missing log outputs by verifying the running state of both the container and the Podman machine.
Chapter 1. Troubleshoot task and connection issues through UI Copy linkLink copied to clipboard!
If you encounter connection issues or execution errors, use the built-in troubleshooting tools to view logs, verify connections, and manage data stores.
1.1. Connection failures or task execution errors Copy linkLink copied to clipboard!
- Issue
- General connection failures or task execution errors occur within the application.
- Solution
- Access logs: Click the Troubleshooting icon in the status bar, and select the Logs tab to view real-time internal events.
- Export diagnostics: If the issue persists, go to the Gather Logs tab and click Collect and save logs as .zip to generate a log package for support analysis.
1.2. Unresponsive container engine or disconnected UI socket Copy linkLink copied to clipboard!
- Issue
- The container engine is unresponsive or the UI is disconnected from the engine socket.
- Solution
- Verify connectivity: Navigate to the Repair & Connections tab on the Troubleshooting page, and click Ping to check engine responsiveness.
- Reset connections: Click Reconnect Providers on the same page to refresh the connection to the container engine socket.
- Check container status: Use the Check containers button to verify the response time and availability of all existing containers.
1.3. Fix UI synchronization issues and missing resources Copy linkLink copied to clipboard!
- Issue
- UI synchronization issues, such as missing containers or images that should be visible.
- Solution
- Inspect Stores: Open the Stores tab in the Troubleshooting section, and click the link for the relevant component, such as containers or images.
- Force refresh: Compare the store count with the UI; if they differ, click Refresh to manually synchronize the data from the back-end.
- Clear history: If the event log is cluttered, click Clear to remove historical data and allow the store to capture fresh events.
Chapter 2. Troubleshoot container issues Copy linkLink copied to clipboard!
Troubleshoot issues encountered when viewing container logs in Red Hat build of Podman Desktop. The primary focus is on resolving instances where the log stream is empty or inactive.
2.1. Fix empty or missing container logs Copy linkLink copied to clipboard!
- Issue
- The Logs tab for a container is empty or does not show any new logs.
- Solution
- Verify container state: Ensure that the container you are examining is currently in a Running state.
- Verify application output: Confirm the application inside the container sends its logs to the console (stdout/stderr) for Podman to display.
- Check Podman machine: Ensure the underlying Podman machine is running and connected. Go to Settings > Resources, and verify the status of the machine.
2.2. Container logs inaccessible when Podman machine is stopped Copy linkLink copied to clipboard!
- Issue
- The Podman machine is not running, which prevents access to container logs.
- Solution
Viewing container logs requires an active Podman Machine.
- Go to Settings > Resources in the navigation pane.
-
Locate your Podman machine, such as
podman-machine-default. - If the status is Stopped, click the Start icon to launch the machine.
Chapter 3. Troubleshoot container registry issues Copy linkLink copied to clipboard!
Resolve container registry authentication and connection issues in Red Hat build of Podman Desktop. These solutions cover standard login errors and manual configurations for connecting to registries using insecure or self-signed certificates.
3.1. Login Failed errors when connecting to container registries Copy linkLink copied to clipboard!
- Issue
- Logging in to a pre-configured or custom registry fails, and an error message is displayed.
- Solution
This typically indicates incorrect registry credentials. Perform the following actions:
- Re-enter your Username and Password (or OAuth secret) carefully.
-
For custom registries, ensure the Registry Location (URL) is correct, such as
https://myregistry.tld. - Click Login again after entering the corrected credentials.
3.2. Invalid Certificate errors when adding a container registry Copy linkLink copied to clipboard!
- Issue
- The container registry uses an insecure certificate. Because of this, Red Hat build of Podman Desktop shows a warning pop-up when you set up the registry.
- Solution
- In the warning pop-up, click Yes to add the registry despite the certificate issue.
Manually authorize access to the insecure registry by editing the
registries.confconfiguration file.Expand Table 3.1. Edit registries.conf (requires root/superuser privileges) Operating system How to access terminal Configuration file location Windows/macOS (Podman machine)
Go to Settings > Resources. In the Podman tile, select More Options > Open Terminal.
Run
podman machine ssh --username root <optional_machine_name>/etc/containers/registries.conf(inside the machine)Linux (Host)
Run
sudo su -/etc/containers/registries.conf(on the host)Open the
/etc/containers/registries.conffile in a text editor.vi /etc/containers/registries.conf
# vi /etc/containers/registries.confCopy to Clipboard Copied! Toggle word wrap Toggle overflow Add a
section for each insecure registry, settinginsecure = true.[[registry]] location = "my-registry.tld" insecure = true
[[registry]] location = "my-registry.tld" insecure = trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart Podman to apply the changes:
- Windows/macOS: Go to Settings > Resources and restart the Podman machine.
-
Linux (rootless): Run
pkill podman. -
Linux (rootful): Run
sudo systemctl restart podman.
Chapter 4. Troubleshoot restricted environments and proxy configuration issues Copy linkLink copied to clipboard!
Deploy Red Hat build of Podman Desktop in restricted or proxy-dependent networks by resolving installation failures in air-gapped environments. Fix VPN-related connectivity issues by enabling the User Mode Networking option. You also find steps to route container traffic through corporate proxies.
4.1. Host cannot access Podman machine resources on VPN-enabled networks Copy linkLink copied to clipboard!
- Issue
- When using a Virtual Private Network (VPN), the host computer cannot access resources exposed by the Podman machine because the machine receives a distinct network address.
- Solution
- When setting up the Podman machine, enable the User mode networking (traffic relayed by a user process) option. This routes the network traffic through your host, allowing access to the machine’s exposed resources.
4.2. Containers cannot connect to the network in proxy-restricted environments Copy linkLink copied to clipboard!
- Issue
- Your host machine has internet access, but containers started in Red Hat build of Podman Desktop cannot reach the network. This happens because containers do not automatically receive the proxy settings from the applicaton UI or operating system.
- Solution
- To manually configure a proxy for your containers, refer to Configure proxy settings on macOS and Windows and Configure proxy settings on Linux.
4.3. Connection errors when using proxies with custom certificates Copy linkLink copied to clipboard!
- Issue
- When using a proxy that requires custom Certificate Authorities (CAs), the Podman machine fails to verify secure connections.
- Solution
- To use a custom CA with your proxy, refer to Configure proxy settings on macOS and Windows and Configure proxy settings on Linux.