sdv43 / whaler

Docker Container Management
93 stars 9 forks source link

Keeps loading forver #8

Closed isFakeAccount closed 2 years ago

isFakeAccount commented 2 years ago

What permissions do I need to give it to make it work?

sdv43 commented 2 years ago

Hi! What OS do you use? Could you run the app through the console and send the output here?

isFakeAccount commented 2 years ago

I am using Pop_OS! 22.04. Here is the output from console

flatpak run com.github.sdv43.whaler
Gtk-Message: 01:12:55.368: Failed to load module "xapp-gtk3-module"
Gtk-Message: 01:12:55.368: Failed to load module "appmenu-gtk-module"
Gtk-Message: 01:12:55.412: Failed to load module "canberra-gtk-module"
Gtk-Message: 01:12:55.414: Failed to load module "canberra-gtk-module"
sdv43 commented 2 years ago

Try running curl --unix-socket /run/docker.sock "http://localhost/v1.41/version" in the console. It shows Docker version information if you have the correct permissions.

isFakeAccount commented 2 years ago

This is what I got

{
  "Platform": {
    "Name": "Docker Engine - Community"
  },
  "Components": [
    {
      "Name": "Engine",
      "Version": "20.10.17",
      "Details": {
        "ApiVersion": "1.41",
        "Arch": "amd64",
        "BuildTime": "2022-06-06T23:00:51.000000000+00:00",
        "Experimental": "false",
        "GitCommit": "a89b842",
        "GoVersion": "go1.17.11",
        "KernelVersion": "5.17.15-76051715-generic",
        "MinAPIVersion": "1.12",
        "Os": "linux"
      }
    },
    {
      "Name": "containerd",
      "Version": "1.6.6",
      "Details": {
        "GitCommit": "10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1"
      }
    },
    {
      "Name": "runc",
      "Version": "1.1.2",
      "Details": {
        "GitCommit": "v1.1.2-0-ga916309"
      }
    },
    {
      "Name": "docker-init",
      "Version": "0.19.0",
      "Details": {
        "GitCommit": "de40ad0"
      }
    }
  ],
  "Version": "20.10.17",
  "ApiVersion": "1.41",
  "MinAPIVersion": "1.12",
  "GitCommit": "a89b842",
  "GoVersion": "go1.17.11",
  "Os": "linux",
  "Arch": "amd64",
  "KernelVersion": "5.17.15-76051715-generic",
  "BuildTime": "2022-06-06T23:00:51.000000000+00:00"
}
sdv43 commented 2 years ago

I may have figured out what happened. The loader is always visible if you don't have containers. There should have been the message "No containers". I'll fix it with the next release.

Do you have any containers? Try to run a container then check the app.