freedomofpress/dangerzone

Wrong container runtime detection on Linux

Closed this issue · 0 comments

Description

Running Dangerzone on a Linux environment that does not have Podman properly configured, throws an error about Docker not running:

Dangerzone Requires Docker Desktop

Docker is installed but isn't running.

Open Docker and make sure it's running in the background.

This is unexpected because the newest Dangerzone release uses Podman instead of Docker.

Steps to Reproduce

OS: Ubuntu 22.04 (containerized via Docker)
Release: 0.3.2

  • Create an Ubuntu container with no special privileges, but with X11 access.
  • Install Dangerzone in it.
  • Make sure that podman images ls fails.
  • Run dangerzone within that container.
  • See the wrong error message in the GUI.

Expected Behavior

Inform the user that Podman is not properly configured. Ideally, explain what is the command that failed, either in the UI or in the logs.