briefercloud / briefer

Dashboards and notebooks in a single place. Create powerful and flexible dashboards using code, or build beautiful Notion-like notebooks and share them with your team.
https://briefer.cloud
GNU Affero General Public License v3.0
3.5k stars 201 forks source link

Error when fetching Docker - Suggest Podman support as alternative #109

Open yuriishizawa opened 1 month ago

yuriishizawa commented 1 month ago

I'm encountering an issue when trying to use briefer on my MacOS system. The following error is raised when briefer attempts to connect to Docker:

Traceback (most recent call last):
  File "/Users/.../briefer/lib/python3.10/site-packages/urllib3/connectionpool.py", line 789, in urlopen
    response = self._make_request(
  ...
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

It seems that briefer is unable to connect to Docker on my machine. This may be related to how Docker is configured or not running on my setup. However, many developers, especially those using MacOS or Windows, have started to migrate to Podman as an alternative to Docker due to use of Docker Desktop.

Suggestion: It would be great if briefer could support Podman as an alternative to Docker, allowing for more flexibility across environments. This could expand the user base by making the tool more compatible with systems where Docker is not the preferred or installed container engine.

Thanks!

lucasfcosta commented 1 month ago

Hey @yuriishizawa! I like this suggestion!

If you want to add some docs on how to use Podman instead, I think we could add a PODMAN.md file to docs and then link to it in the README as an alternative way to run Briefer.

What do you think? Would love a PR if you're up for that!