hassio-addons / addon-portainer

Portainer - Home Assistant Community Add-ons
https://addons.community
MIT License
95 stars 101 forks source link

Cannot access REST api #23

Closed joske500 closed 5 years ago

joske500 commented 5 years ago

Problem/Motivation

I am unable to do POST/GET requests on the Portainer API. HA 0.97.0 Portainer 0.7.4 Startup log: [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-banner.sh: executing...

Hass.io Add-on: Portainer Manage your Docker environment with ease

Add-on version: 0.7.4 You are running the latest version of this add-on. System: HassOS 2.11 (armv7 / raspberrypi3) Home Assistant version: 0.97.0 Supervisor version: 184

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... Log level is set to INFO [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] nginx.sh: executing... [cont-init.d] nginx.sh: exited 0. [cont-init.d] portainer.sh: executing... [cont-init.d] portainer.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [11:27:31] INFO: Starting Portainer... 2019/08/29 11:27:31 Templates already registered inside the database. Skipping template import. 2019/08/29 11:27:31 Instance already has defined endpoints. Skipping the endpoint defined via CLI. 2019/08/29 11:27:31 server: Reverse tunnelling enabled 2019/08/29 11:27:31 server: Fingerprint a6:68:6e:ca:69:5a:df:8f:08:ed:97:59:91:a8:8d:9c 2019/08/29 11:27:31 server: Listening on 0.0.0.0:8000... 2019/08/29 11:27:31 Starting Portainer 1.22.0 on 127.0.0.1:9000 2019/08/29 11:27:31 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process] [11:27:31] INFO: Starting NGinx... nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)

Expected behavior

Able to access the Portainer API

Actual behavior

I use Postman to test the api. When I try to obtain a token via http://:/api/auth (POST) with Username/Password as JSON body using my HA user/password I always get 401 in return. It seems that the HA authentication is NOT used when authenticating via the API (or /api/auth endpoint). Using endpoint /api/endpoints (GET) using a HA long life token (Header Authentication:Bearer ) doesn't work either. Tried to use the tokens that are passed when using webui but doesn't work either (makes sense). Even tried the leave_frontdoor_open option in config file, then the /api/endpoints works without authentication but no container info is returned.

Steps to reproduce

Install Portainer addon. Set a port in Network tab. Start Portainer. Try to do a POST request on /api/auth or GET request on /api/endpoints

Proposed changes

Describe how to use the Portainer API.

GitHub
openresty/luajit2
OpenResty's Branch of LuaJIT 2. Contribute to openresty/luajit2 development by creating an account on GitHub.
OpenResty - Download
addons-assistant[bot] commented 5 years ago

:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

sinclairpaul commented 5 years ago

The addon uses the lua script for authentication, which I believe is just a basic auth setup from the browser. I would suggest ensuring the Header is sent correctly (I believe there is an option in Postman for Basic Auth).

joske500 commented 5 years ago

@sinclairpaul thanks for the suggestion! Indeed when using basic auth I do get response when quering /api/endpoints however, the response does not contain the containers, the response is quite empty. It seems that my hass user (who does see everything in the webui) does not have sufficient rights. Here is the response I got:

[
    {
        "Id": 1,
        "Name": "primary",
        "Type": 1,
        "URL": "unix:///var/run/docker.sock",
        "GroupId": 1,
        "PublicURL": "",
        "TLSConfig": {
            "TLS": false,
            "TLSSkipVerify": false
        },
        "Extensions": [],
        "AzureCredentials": {
            "ApplicationID": "",
            "TenantID": "",
            "AuthenticationKey": ""
        },
        "Tags": [],
        "Status": 1,
        "Snapshots": [
            {
                "Time": 1567104079,
                "DockerVersion": "18.09.0",
                "Swarm": false,
                "TotalCPU": 4,
                "TotalMemory": 971128832,
                "RunningContainerCount": 10,
                "StoppedContainerCount": 1,
                "VolumeCount": 1,
                "ImageCount": 26,
                "ServiceCount": 0,
                "StackCount": 0,
                "SnapshotRaw": {
                    "Containers": null,
                    "Volumes": null,
                    "Networks": null,
                    "Images": null,
                    "Info": null,
                    "Version": null
                }
            }
        ],
        "UserAccessPolicies": {},
        "TeamAccessPolicies": {},
        "EdgeKey": "",
        "AuthorizedUsers": [],
        "AuthorizedTeams": []
    }
]
sinclairpaul commented 5 years ago

Are the containers visible in the GUI if not check the note in the known issues of the Readme.

Edit - Helps if I read your comment.

joske500 commented 5 years ago

Yes, containers visible in GUI when logging in with same user and password. (hass admin user)

joske500 commented 5 years ago

I also tried getting a JWT token (as the portainer manual describes) via /api/auth but I get following response:

{
    "err": "Cannot authenticate user. Portainer was started with the --no-auth flag",
    "details": "Authentication is disabled"
}

As a reminder, my config:

{
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "log_level": "info"
}
sinclairpaul commented 5 years ago

Looking at the API Spec, I'm not sure it will return the containers https://app.swaggerhub.com/apis/deviantony/Portainer/1.22.0/#/endpoints/EndpointList

Build, Collaborate & Integrate APIs | SwaggerHub
Join thousands of developers who use SwaggerHub to build and design great APIs. Signup or login today.
sinclairpaul commented 5 years ago

Try this path /api/endpoints/1/docker/containers/json

joske500 commented 5 years ago

Nope, I get following response:

{
    "err": "Unable to proxy the request via the Docker socket",
    "details": "page not found"
}

I have another portainer running on my Synology, when I do a GET request (with JWT token obtained from /api/auth with username admin & pwd) I do get a response with containers when quering /api/endpoints:

[
    {
        "Id": 1,
        "Name": "local",
        "Type": 1,
        "URL": "unix:///var/run/docker.sock",
        "GroupId": 1,
        "PublicURL": "192.168.0.10",
        "TLSConfig": {
            "TLS": false,
            "TLSSkipVerify": false
        },
        "AuthorizedUsers": [],
        "AuthorizedTeams": [],
        "Extensions": [],
        "AzureCredentials": {
            "ApplicationID": "",
            "TenantID": "",
            "AuthenticationKey": ""
        },
        "Tags": [],
        "Status": 1,
        "Snapshots": [
            {
                "Time": 1567107657,
                "DockerVersion": "17.05.0-ce",
                "Swarm": false,
                "TotalCPU": 4,
                "TotalMemory": 8360570880,
                "RunningContainerCount": 7,
                "StoppedContainerCount": 1,
                "VolumeCount": 31,
                "ImageCount": 12,
                "ServiceCount": 0,
                "StackCount": 0,
                "SnapshotRaw": {
                    "Containers": [
                        {
                            "Command": "/portainer",
                            "Created": 1566676389,
                            "HostConfig": {
                                "NetworkMode": "default"
                            },
                            "Id": "252e66ffc6a4cc502dff4a97825f5d02ae3e407f5f626a7e9827765538973151",
                            "Image": "sha256:89c72b64ab633ae822c5e212d9ab7a43e50d8cda5c6867c20d3affffe46411bd",
                            "ImageID": "sha256:89c72b64ab633ae822c5e212d9ab7a43e50d8cda5c6867c20d3affffe46411bd",
                            "Labels": {},
                            "Mounts": [
                                {
                                    "Destination": "/data",
                                    "Mode": "",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/docker/portainer",
                                    "Type": "bind"
                                },
                                {
                                    "Destination": "/var/run/docker.sock",
                                    "Mode": "",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/var/run/docker.sock",
                                    "Type": "bind"
                                }
                            ],
                            "Names": [
                                "/portainer"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "d5e2e5bcc5be2e28119b4298aa861f2da14c83d07accb9fc5eac8fe0546a64a1",
                                        "Gateway": "172.17.0.1",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "172.17.0.4",
                                        "IPPrefixLen": 16,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "02:42:ac:11:00:04",
                                        "NetworkID": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d"
                                    }
                                }
                            },
                            "Ports": [
                                {
                                    "IP": "0.0.0.0",
                                    "PrivatePort": 9000,
                                    "PublicPort": 9000,
                                    "Type": "tcp"
                                }
                            ],
                            "State": "running",
                            "Status": "Up 6 hours"
                        },
                        {
                            "Command": "nginx -g 'daemon off;'",
                            "Created": 1565686601,
                            "HostConfig": {
                                "NetworkMode": "bridge"
                            },
                            "Id": "407dc9c775e8ad67c8f81ba9c967560c321aec4a16e88904dca8ac54a7425c38",
                            "Image": "nginx:latest",
                            "ImageID": "sha256:e445ab08b2be8b178655b714f89e5db9504f67defd5c7408a00bade679a50d44",
                            "Labels": {
                                "maintainer": "NGINX Docker Maintainers <docker-maint@nginx.com>"
                            },
                            "Mounts": [
                                {
                                    "Destination": "/etc/nginx",
                                    "Mode": "rw",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/docker/nginx/etc/nginx",
                                    "Type": "bind"
                                },
                                {
                                    "Destination": "/var/log",
                                    "Mode": "rw",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/docker/nginx/var/log",
                                    "Type": "bind"
                                },
                                {
                                    "Destination": "/var/www",
                                    "Mode": "rw",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/docker/nginx/var/www",
                                    "Type": "bind"
                                }
                            ],
                            "Names": [
                                "/nginx"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "a0718ab3500d4149c946e0f5a0355538018dc9ba28c086ebdd09b3c011c9ba49",
                                        "Gateway": "172.17.0.1",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "172.17.0.5",
                                        "IPPrefixLen": 16,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "02:42:ac:11:00:05",
                                        "NetworkID": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d"
                                    }
                                }
                            },
                            "Ports": [
                                {
                                    "IP": "0.0.0.0",
                                    "PrivatePort": 443,
                                    "PublicPort": 1443,
                                    "Type": "tcp"
                                },
                                {
                                    "IP": "0.0.0.0",
                                    "PrivatePort": 80,
                                    "PublicPort": 81,
                                    "Type": "tcp"
                                }
                            ],
                            "State": "running",
                            "Status": "Up 6 hours"
                        },
                        {
                            "Command": "/entrypoint.sh influxd",
                            "Created": 1565212183,
                            "HostConfig": {
                                "NetworkMode": "bridge"
                            },
                            "Id": "af6717abd599cd59e924524a79a2043830bd3125beb7cb52423673904c1d7c3b",
                            "Image": "influxdb:latest",
                            "ImageID": "sha256:d1e103e42e176840a5c1dc0b24a4f6a058f63f7c88ed90d3a1f55a2459a0bef5",
                            "Labels": {},
                            "Mounts": [
                                {
                                    "Destination": "/var/lib/influxdb",
                                    "Driver": "local",
                                    "Mode": "",
                                    "Name": "1bd53a950f1d73776805273e84b3ac79e73c0b615471841e468142bfc4fc7626",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/@docker/volumes/1bd53a950f1d73776805273e84b3ac79e73c0b615471841e468142bfc4fc7626/_data",
                                    "Type": "volume"
                                }
                            ],
                            "Names": [
                                "/influxdb1"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "ac1832c1f315af9511173c8efc9177b6e779a2c45b470316e2aefa8adb4034fb",
                                        "Gateway": "172.17.0.1",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "172.17.0.2",
                                        "IPPrefixLen": 16,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "02:42:ac:11:00:02",
                                        "NetworkID": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d"
                                    }
                                }
                            },
                            "Ports": [
                                {
                                    "IP": "0.0.0.0",
                                    "PrivatePort": 8086,
                                    "PublicPort": 8086,
                                    "Type": "tcp"
                                }
                            ],
                            "State": "running",
                            "Status": "Up 6 hours"
                        },
                        {
                            "Command": "/init",
                            "Created": 1560330424,
                            "HostConfig": {
                                "NetworkMode": "bridge"
                            },
                            "Id": "963ff74da29ae843b9db5ad8a3c6334f8db255c9e77d0365c125018e5dabc21b",
                            "Image": "oznu/guacamole:latest",
                            "ImageID": "sha256:dab90baf2b01efbb61e240a716a9b4e4faaa11f568fa3c1debaea68f1d373196",
                            "Labels": {},
                            "Mounts": [],
                            "Names": [
                                "/oznu-guacamole2"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "80521052750ae967e2a2b0d56488a2b226dee58dcb82f2ffbaa88d1da8cbb0ef",
                                        "Gateway": "172.17.0.1",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "172.17.0.3",
                                        "IPPrefixLen": 16,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "02:42:ac:11:00:03",
                                        "NetworkID": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d"
                                    }
                                }
                            },
                            "Ports": [
                                {
                                    "IP": "0.0.0.0",
                                    "PrivatePort": 8080,
                                    "PublicPort": 8081,
                                    "Type": "tcp"
                                }
                            ],
                            "State": "running",
                            "Status": "Up 6 hours"
                        },
                        {
                            "Command": "/sbin/entrypoint.sh app:start",
                            "Created": 1559117394,
                            "HostConfig": {
                                "NetworkMode": "default"
                            },
                            "Id": "1265bbba20bce85a23f42bcd795b2c6cf64d247de6b43639176207c7ece2581c",
                            "Image": "sameersbn/gitlab:11.0.4",
                            "ImageID": "sha256:88c9db2114c029d8dafef2bb4ec2b45ac886ee211fb5ef115cc2981327775c6e",
                            "Labels": {
                                "maintainer": "sameer@damagehead.com"
                            },
                            "Mounts": [
                                {
                                    "Destination": "/home/git/data",
                                    "Mode": "rw",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/docker/gitlab/gitlab",
                                    "Type": "bind"
                                },
                                {
                                    "Destination": "/var/log/gitlab",
                                    "Driver": "local",
                                    "Mode": "",
                                    "Name": "27201a250fb284269ca6880c42df3f28c373a25bcb46bd4354d4d97a92bb2003",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/@docker/volumes/27201a250fb284269ca6880c42df3f28c373a25bcb46bd4354d4d97a92bb2003/_data",
                                    "Type": "volume"
                                }
                            ],
                            "Names": [
                                "/synology_gitlab"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "a763b428df7a6f80ddab0e9501937556dbfa642dac6bcc8b60966fbc6365fa4f",
                                        "Gateway": "172.17.0.1",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "172.17.0.8",
                                        "IPPrefixLen": 16,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "02:42:ac:11:00:08",
                                        "NetworkID": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d"
                                    }
                                }
                            },
                            "Ports": [
                                {
                                    "IP": "0.0.0.0",
                                    "PrivatePort": 22,
                                    "PublicPort": 30001,
                                    "Type": "tcp"
                                },
                                {
                                    "IP": "0.0.0.0",
                                    "PrivatePort": 80,
                                    "PublicPort": 30000,
                                    "Type": "tcp"
                                },
                                {
                                    "PrivatePort": 443,
                                    "Type": "tcp"
                                }
                            ],
                            "State": "running",
                            "Status": "Up 6 hours"
                        },
                        {
                            "Command": "/sbin/entrypoint.sh",
                            "Created": 1559117328,
                            "HostConfig": {
                                "NetworkMode": "default"
                            },
                            "Id": "4d261f425e95bc3eb214cece4a16ac06701a51286daab3390b686bcc200f2040",
                            "Image": "sameersbn/postgresql:10",
                            "ImageID": "sha256:27c74465cc2f44beb625f26b122d75ccef8f6f5db8d58aa0236b57c27dcf2685",
                            "Labels": {
                                "maintainer": "sameer@damagehead.com"
                            },
                            "Mounts": [
                                {
                                    "Destination": "/var/lib/postgresql",
                                    "Mode": "rw",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/docker/gitlab/postgresql",
                                    "Type": "bind"
                                }
                            ],
                            "Names": [
                                "/synology_gitlab_postgresql",
                                "/synology_gitlab/db"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "a9c43bb8523e7c65ca369dc872d1576ea89cf37471c1a6dfd5886f95d56aae15",
                                        "Gateway": "172.17.0.1",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "172.17.0.7",
                                        "IPPrefixLen": 16,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "02:42:ac:11:00:07",
                                        "NetworkID": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d"
                                    }
                                }
                            },
                            "Ports": [
                                {
                                    "PrivatePort": 5432,
                                    "Type": "tcp"
                                }
                            ],
                            "State": "running",
                            "Status": "Up 6 hours"
                        },
                        {
                            "Command": "docker-entrypoint.sh redis-server",
                            "Created": 1559117327,
                            "HostConfig": {
                                "NetworkMode": "default"
                            },
                            "Id": "9c222b1b2313c22187d6e8ee71559976485193f1c3c5bb0d1ebebe1d21031879",
                            "Image": "redis:3.2.6",
                            "ImageID": "sha256:45c3ea2cecac5fef8c3838cc4b58666657df8541e14437964c8b88f355f372c8",
                            "Labels": {},
                            "Mounts": [
                                {
                                    "Destination": "/data",
                                    "Driver": "local",
                                    "Mode": "",
                                    "Name": "b8ee8e49ebe7b520bfe2ef647b4ff745e21968cdb1921136262fa4a71619ef42",
                                    "Propagation": "",
                                    "RW": true,
                                    "Source": "/volume1/@docker/volumes/b8ee8e49ebe7b520bfe2ef647b4ff745e21968cdb1921136262fa4a71619ef42/_data",
                                    "Type": "volume"
                                }
                            ],
                            "Names": [
                                "/synology_gitlab_redis",
                                "/synology_gitlab/redisio"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "f26900351229579f4300548bbacb07bb237fd25fe7ef903c38cf095551ec7bd4",
                                        "Gateway": "172.17.0.1",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "172.17.0.6",
                                        "IPPrefixLen": 16,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "02:42:ac:11:00:06",
                                        "NetworkID": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d"
                                    }
                                }
                            },
                            "Ports": [
                                {
                                    "PrivatePort": 6379,
                                    "Type": "tcp"
                                }
                            ],
                            "State": "running",
                            "Status": "Up 6 hours"
                        },
                        {
                            "Command": "/init",
                            "Created": 1523006118,
                            "HostConfig": {
                                "NetworkMode": "bridge"
                            },
                            "Id": "b19e9cd8e2f1a130c88538766576036843d694b6347e36440fc5abbcfe170758",
                            "Image": "sha256:124a8297fd5ddf52a183985932947a5336b04e6f70b02985f483d40d0886bfd2",
                            "ImageID": "sha256:124a8297fd5ddf52a183985932947a5336b04e6f70b02985f483d40d0886bfd2",
                            "Labels": {},
                            "Mounts": [],
                            "Names": [
                                "/oznu-guacamole1"
                            ],
                            "NetworkSettings": {
                                "Networks": {
                                    "bridge": {
                                        "Aliases": null,
                                        "DriverOpts": null,
                                        "EndpointID": "",
                                        "Gateway": "",
                                        "GlobalIPv6Address": "",
                                        "GlobalIPv6PrefixLen": 0,
                                        "IPAMConfig": null,
                                        "IPAddress": "",
                                        "IPPrefixLen": 0,
                                        "IPv6Gateway": "",
                                        "Links": null,
                                        "MacAddress": "",
                                        "NetworkID": "1c3a1ff26baeb0766a6007472a8118e822c57253d1c58b8e4efdb9bb0ab0e759"
                                    }
                                }
                            },
                            "Ports": [],
                            "State": "exited",
                            "Status": "Exited (0) 24 hours ago"
                        }
                    ],
                    "Volumes": {
                        "Volumes": [
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/f1d094135d1f0528cf8f60cea1b8904578640e516499243b9714eaf05c97d256/_data",
                                "Name": "f1d094135d1f0528cf8f60cea1b8904578640e516499243b9714eaf05c97d256",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/0c5a05878cef8d4c6b94a39267996003bec254dd7fd212775505cef42b8f0735/_data",
                                "Name": "0c5a05878cef8d4c6b94a39267996003bec254dd7fd212775505cef42b8f0735",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/1bd53a950f1d73776805273e84b3ac79e73c0b615471841e468142bfc4fc7626/_data",
                                "Name": "1bd53a950f1d73776805273e84b3ac79e73c0b615471841e468142bfc4fc7626",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/241bdeae6f87cc7726c91a77426ab72bc11efa6452ac333bfb9dabb4c34ce719/_data",
                                "Name": "241bdeae6f87cc7726c91a77426ab72bc11efa6452ac333bfb9dabb4c34ce719",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/405e04e03f5512218ecb9c0c9d1a0622fb015804e9cbbc70de63a369ac748c78/_data",
                                "Name": "405e04e03f5512218ecb9c0c9d1a0622fb015804e9cbbc70de63a369ac748c78",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/4ae91e90c89ff0217c53558e160fb5704c3dd2d3ce7f9645894e663a1bd36015/_data",
                                "Name": "4ae91e90c89ff0217c53558e160fb5704c3dd2d3ce7f9645894e663a1bd36015",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/8bf778734ba66c1bb7ac73061029cd52c7c6d571f238fd03ad557bfbc394ca22/_data",
                                "Name": "8bf778734ba66c1bb7ac73061029cd52c7c6d571f238fd03ad557bfbc394ca22",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/8e999723c9d5f848500b8fe17fc37c3e3e239f437bfe997cc8db0d4c3f4ca679/_data",
                                "Name": "8e999723c9d5f848500b8fe17fc37c3e3e239f437bfe997cc8db0d4c3f4ca679",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/df3b6636ebe8d77aa9f8f019032031692b51ff449b44d3038805125f020db21e/_data",
                                "Name": "df3b6636ebe8d77aa9f8f019032031692b51ff449b44d3038805125f020db21e",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/5df45f3b28992a4855f2df4632076f23e8cd6a7a6d5a961bb7256c2706a9b07e/_data",
                                "Name": "5df45f3b28992a4855f2df4632076f23e8cd6a7a6d5a961bb7256c2706a9b07e",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/64137731510ae41e8e770529e4907d30c456809d5204c94d3155aab9b254221d/_data",
                                "Name": "64137731510ae41e8e770529e4907d30c456809d5204c94d3155aab9b254221d",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/f2e52f2d6c0ab43d4b73f7ae9cb8ba4d6bbac7ed4503fc7b0007a1ec3fb9902c/_data",
                                "Name": "f2e52f2d6c0ab43d4b73f7ae9cb8ba4d6bbac7ed4503fc7b0007a1ec3fb9902c",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/dfaf3b6c58d1c910c8f923d64442b30bbd4a36386e352620e48a2e771062df14/_data",
                                "Name": "dfaf3b6c58d1c910c8f923d64442b30bbd4a36386e352620e48a2e771062df14",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/4d2f05ecc5c8e315bddac073eee3515a7d030484cacc457dd55b034b5c59d42d/_data",
                                "Name": "4d2f05ecc5c8e315bddac073eee3515a7d030484cacc457dd55b034b5c59d42d",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/6298bc91da7681231d0b0b97714ac9357a2451ae32c2bc4946945d37469f7f4a/_data",
                                "Name": "6298bc91da7681231d0b0b97714ac9357a2451ae32c2bc4946945d37469f7f4a",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/909aa274c2755d793409ae9d1e407272ca03afaba5af31132c74c254db452835/_data",
                                "Name": "909aa274c2755d793409ae9d1e407272ca03afaba5af31132c74c254db452835",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/be8d80e217d8da2a9aca52cf62e2295c352e004acc802164c623c30eeac29f19/_data",
                                "Name": "be8d80e217d8da2a9aca52cf62e2295c352e004acc802164c623c30eeac29f19",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/34f573f9ebfa2a200ad3fc4b7526994ff981f5c42dd87545c321a0f27488397f/_data",
                                "Name": "34f573f9ebfa2a200ad3fc4b7526994ff981f5c42dd87545c321a0f27488397f",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/c6d4934f93dee044830752753d02f73db0ddca884b0e647fc2bcd95482de8e15/_data",
                                "Name": "c6d4934f93dee044830752753d02f73db0ddca884b0e647fc2bcd95482de8e15",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/138c47a592368b45d7c352dd109dc12f29dc44ab1fc9e37550b4fc713d05a2a7/_data",
                                "Name": "138c47a592368b45d7c352dd109dc12f29dc44ab1fc9e37550b4fc713d05a2a7",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/1d051781cdb99738a6b678809438fd4fe3bc334495775b4bb59d12f0ae1c0617/_data",
                                "Name": "1d051781cdb99738a6b678809438fd4fe3bc334495775b4bb59d12f0ae1c0617",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/27201a250fb284269ca6880c42df3f28c373a25bcb46bd4354d4d97a92bb2003/_data",
                                "Name": "27201a250fb284269ca6880c42df3f28c373a25bcb46bd4354d4d97a92bb2003",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/2f7e4700f108095b335a6eed7c224459b2d7e40f8e5a74693e0c5d702e07dde8/_data",
                                "Name": "2f7e4700f108095b335a6eed7c224459b2d7e40f8e5a74693e0c5d702e07dde8",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/91e999ee7e90b4024767a2e80b56c072f48340214622b6521597617e539e076c/_data",
                                "Name": "91e999ee7e90b4024767a2e80b56c072f48340214622b6521597617e539e076c",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/af8f462d03cf543d384c06e8cbb6452cf05b2f6feb109a259c138258f279d15c/_data",
                                "Name": "af8f462d03cf543d384c06e8cbb6452cf05b2f6feb109a259c138258f279d15c",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/b8ee8e49ebe7b520bfe2ef647b4ff745e21968cdb1921136262fa4a71619ef42/_data",
                                "Name": "b8ee8e49ebe7b520bfe2ef647b4ff745e21968cdb1921136262fa4a71619ef42",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/c2e3d267a84a740e4e610b1355e7384c2d352fae3de2d25f85d79d9f53658453/_data",
                                "Name": "c2e3d267a84a740e4e610b1355e7384c2d352fae3de2d25f85d79d9f53658453",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/00aeb6824d91783c7886aeb64b104442f784b4769fc48e59382f11f569b42d47/_data",
                                "Name": "00aeb6824d91783c7886aeb64b104442f784b4769fc48e59382f11f569b42d47",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/69bc92a71b8a6e0f8ae196e17efb9b63106016f23631504ef203c0ead60a3953/_data",
                                "Name": "69bc92a71b8a6e0f8ae196e17efb9b63106016f23631504ef203c0ead60a3953",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/96ee78ff989c114b3fcaef91f320eb176f81209adb1da72fe396a266a5d75370/_data",
                                "Name": "96ee78ff989c114b3fcaef91f320eb176f81209adb1da72fe396a266a5d75370",
                                "Options": {},
                                "Scope": "local"
                            },
                            {
                                "Driver": "local",
                                "Labels": null,
                                "Mountpoint": "/volume1/@docker/volumes/9e8449b5ac87e7549e0d4b2ac8db051178edb6598fb408435a07135d6f59124d/_data",
                                "Name": "9e8449b5ac87e7549e0d4b2ac8db051178edb6598fb408435a07135d6f59124d",
                                "Options": {},
                                "Scope": "local"
                            }
                        ],
                        "Warnings": null
                    },
                    "Networks": [
                        {
                            "Attachable": false,
                            "ConfigFrom": {
                                "Network": ""
                            },
                            "ConfigOnly": false,
                            "Containers": {
                                "1265bbba20bce85a23f42bcd795b2c6cf64d247de6b43639176207c7ece2581c": {
                                    "EndpointID": "a763b428df7a6f80ddab0e9501937556dbfa642dac6bcc8b60966fbc6365fa4f",
                                    "IPv4Address": "172.17.0.8/16",
                                    "IPv6Address": "",
                                    "MacAddress": "02:42:ac:11:00:08",
                                    "Name": "synology_gitlab"
                                },
                                "252e66ffc6a4cc502dff4a97825f5d02ae3e407f5f626a7e9827765538973151": {
                                    "EndpointID": "d5e2e5bcc5be2e28119b4298aa861f2da14c83d07accb9fc5eac8fe0546a64a1",
                                    "IPv4Address": "172.17.0.4/16",
                                    "IPv6Address": "",
                                    "MacAddress": "02:42:ac:11:00:04",
                                    "Name": "portainer"
                                },
                                "407dc9c775e8ad67c8f81ba9c967560c321aec4a16e88904dca8ac54a7425c38": {
                                    "EndpointID": "a0718ab3500d4149c946e0f5a0355538018dc9ba28c086ebdd09b3c011c9ba49",
                                    "IPv4Address": "172.17.0.5/16",
                                    "IPv6Address": "",
                                    "MacAddress": "02:42:ac:11:00:05",
                                    "Name": "nginx"
                                },
                                "4d261f425e95bc3eb214cece4a16ac06701a51286daab3390b686bcc200f2040": {
                                    "EndpointID": "a9c43bb8523e7c65ca369dc872d1576ea89cf37471c1a6dfd5886f95d56aae15",
                                    "IPv4Address": "172.17.0.7/16",
                                    "IPv6Address": "",
                                    "MacAddress": "02:42:ac:11:00:07",
                                    "Name": "synology_gitlab_postgresql"
                                },
                                "963ff74da29ae843b9db5ad8a3c6334f8db255c9e77d0365c125018e5dabc21b": {
                                    "EndpointID": "80521052750ae967e2a2b0d56488a2b226dee58dcb82f2ffbaa88d1da8cbb0ef",
                                    "IPv4Address": "172.17.0.3/16",
                                    "IPv6Address": "",
                                    "MacAddress": "02:42:ac:11:00:03",
                                    "Name": "oznu-guacamole2"
                                },
                                "9c222b1b2313c22187d6e8ee71559976485193f1c3c5bb0d1ebebe1d21031879": {
                                    "EndpointID": "f26900351229579f4300548bbacb07bb237fd25fe7ef903c38cf095551ec7bd4",
                                    "IPv4Address": "172.17.0.6/16",
                                    "IPv6Address": "",
                                    "MacAddress": "02:42:ac:11:00:06",
                                    "Name": "synology_gitlab_redis"
                                },
                                "af6717abd599cd59e924524a79a2043830bd3125beb7cb52423673904c1d7c3b": {
                                    "EndpointID": "ac1832c1f315af9511173c8efc9177b6e779a2c45b470316e2aefa8adb4034fb",
                                    "IPv4Address": "172.17.0.2/16",
                                    "IPv6Address": "",
                                    "MacAddress": "02:42:ac:11:00:02",
                                    "Name": "influxdb1"
                                }
                            },
                            "Created": "2019-08-29T15:15:00.191604135+02:00",
                            "Driver": "bridge",
                            "EnableIPv6": false,
                            "IPAM": {
                                "Config": [
                                    {
                                        "Gateway": "172.17.0.1",
                                        "Subnet": "172.17.0.0/16"
                                    }
                                ],
                                "Driver": "default",
                                "Options": null
                            },
                            "Id": "b4deabe4ad225474076c115d456b78628b033621580513647271558b31dd1f1d",
                            "Ingress": false,
                            "Internal": false,
                            "Labels": {},
                            "Name": "bridge",
                            "Options": {
                                "com.docker.network.bridge.default_bridge": "true",
                                "com.docker.network.bridge.enable_icc": "true",
                                "com.docker.network.bridge.enable_ip_masquerade": "true",
                                "com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
                                "com.docker.network.bridge.name": "docker0",
                                "com.docker.network.driver.mtu": "1500"
                            },
                            "Scope": "local"
                        },
                        {
                            "Attachable": false,
                            "ConfigFrom": {
                                "Network": ""
                            },
                            "ConfigOnly": false,
                            "Containers": {},
                            "Created": "2019-02-10T21:18:11.986262464+01:00",
                            "Driver": "null",
                            "EnableIPv6": false,
                            "IPAM": {
                                "Config": [],
                                "Driver": "default",
                                "Options": null
                            },
                            "Id": "24c207ef0f5d7dfe61833efcb8f74814267bdfdd62739ef5bed7dc2e8a672456",
                            "Ingress": false,
                            "Internal": false,
                            "Labels": {},
                            "Name": "none",
                            "Options": {},
                            "Scope": "local"
                        },
                        {
                            "Attachable": false,
                            "ConfigFrom": {
                                "Network": ""
                            },
                            "ConfigOnly": false,
                            "Containers": {},
                            "Created": "2019-02-10T21:18:13.042466734+01:00",
                            "Driver": "host",
                            "EnableIPv6": false,
                            "IPAM": {
                                "Config": [],
                                "Driver": "default",
                                "Options": null
                            },
                            "Id": "f431371df3dee67e6da2661f4e06227cf869ebea6f62e14dee24992937bcde68",
                            "Ingress": false,
                            "Internal": false,
                            "Labels": {},
                            "Name": "host",
                            "Options": {},
                            "Scope": "local"
                        }
                    ],
                    "Images": [
                        {
                            "Containers": -1,
                            "Created": 1565213467,
                            "Id": "sha256:7442d04be42d00f4f77914cc327005fc7ef01ea035f1da27ba820d00bd3c932d",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "influxdb:201987"
                            ],
                            "SharedSize": -1,
                            "Size": 381286460,
                            "VirtualSize": 381286460
                        },
                        {
                            "Containers": -1,
                            "Created": 1565211488,
                            "Id": "sha256:d3492dc7cc745128fa15a960d74c15fc17400ba32621368c12fdb5431b327ea4",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "influxdb2:201987"
                            ],
                            "SharedSize": -1,
                            "Size": 381286460,
                            "VirtualSize": 381286460
                        },
                        {
                            "Containers": -1,
                            "Created": 1564107108,
                            "Id": "sha256:2b4ddf654e1c413b21c7253125aa0f34a4ff74154558940fa689f8754ec853c5",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": [
                                "portainer/portainer@sha256:a16919b3e02323e4bd0a8c5023d6fd569525297b9dc9a028d778cb6e13512be5"
                            ],
                            "RepoTags": [
                                "portainer/portainer:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 77680455,
                            "VirtualSize": 77680455
                        },
                        {
                            "Containers": -1,
                            "Created": 1563911948,
                            "Id": "sha256:e445ab08b2be8b178655b714f89e5db9504f67defd5c7408a00bade679a50d44",
                            "Labels": {
                                "maintainer": "NGINX Docker Maintainers <docker-maint@nginx.com>"
                            },
                            "ParentId": "",
                            "RepoDigests": [
                                "nginx@sha256:eb3320e2f9ca409b7c0aa71aea3cf7ce7d018f03a372564dbdb023646958770b"
                            ],
                            "RepoTags": [
                                "nginx:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 125829984,
                            "VirtualSize": 125829984
                        },
                        {
                            "Containers": -1,
                            "Created": 1562738926,
                            "Id": "sha256:d1e103e42e176840a5c1dc0b24a4f6a058f63f7c88ed90d3a1f55a2459a0bef5",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": [
                                "influxdb@sha256:38bc51a4a606e4c91e6adc475d28398bee05ae271102cc3e26ddbabe25cb3f71"
                            ],
                            "RepoTags": [
                                "influxdb:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 257621302,
                            "VirtualSize": 257621302
                        },
                        {
                            "Containers": -1,
                            "Created": 1562085500,
                            "Id": "sha256:84803293c0e3e23d5897e18ac7a17f825f5fd4b07af934c7268a504627a10592",
                            "Labels": {
                                "com.centurylinklabs.watchtower": "true"
                            },
                            "ParentId": "",
                            "RepoDigests": [
                                "containrrr/watchtower@sha256:6accfdce9f39eedb957dd8ce20db3eff0872b33a4708b897ecaddfe967b2b941"
                            ],
                            "RepoTags": [
                                "containrrr/watchtower:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 14534047,
                            "VirtualSize": 14534047
                        },
                        {
                            "Containers": -1,
                            "Created": 1548894630,
                            "Id": "sha256:89c72b64ab633ae822c5e212d9ab7a43e50d8cda5c6867c20d3affffe46411bd",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": [
                                "portainer/portainer@sha256:ac9aeaf784962573baf26c03cd9709114d7fbfe7e5bd690b1f8e3b46642e67ea"
                            ],
                            "RepoTags": null,
                            "SharedSize": -1,
                            "Size": 74194177,
                            "VirtualSize": 74194177
                        },
                        {
                            "Containers": -1,
                            "Created": 1548061999,
                            "Id": "sha256:dab90baf2b01efbb61e240a716a9b4e4faaa11f568fa3c1debaea68f1d373196",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": [
                                "oznu/guacamole@sha256:293514dfcfe6f6bb2393bc65155c65077cd19ae9332cbb469a925700843d9d90"
                            ],
                            "RepoTags": [
                                "oznu/guacamole:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 1272660948,
                            "VirtualSize": 1272660948
                        },
                        {
                            "Containers": -1,
                            "Created": 1531951666,
                            "Id": "sha256:88c9db2114c029d8dafef2bb4ec2b45ac886ee211fb5ef115cc2981327775c6e",
                            "Labels": {
                                "maintainer": "sameer@damagehead.com"
                            },
                            "ParentId": "",
                            "RepoDigests": [
                                "sameersbn/gitlab@sha256:252bc65ef96be6c872b8229900319831033dedd70475d737cb57c2f1461290f4"
                            ],
                            "RepoTags": [
                                "sameersbn/gitlab:11.0.4"
                            ],
                            "SharedSize": -1,
                            "Size": 2473665046,
                            "VirtualSize": 2473665046
                        },
                        {
                            "Containers": -1,
                            "Created": 1531501321,
                            "Id": "sha256:27c74465cc2f44beb625f26b122d75ccef8f6f5db8d58aa0236b57c27dcf2685",
                            "Labels": {
                                "maintainer": "sameer@damagehead.com"
                            },
                            "ParentId": "",
                            "RepoDigests": [
                                "sameersbn/postgresql@sha256:7c11a3c61548339c088c3e7c4f1fc2e405db52c5e11bdf140acffe123170ee35"
                            ],
                            "RepoTags": [
                                "sameersbn/postgresql:10"
                            ],
                            "SharedSize": -1,
                            "Size": 203933310,
                            "VirtualSize": 203933310
                        },
                        {
                            "Containers": -1,
                            "Created": 1520504326,
                            "Id": "sha256:124a8297fd5ddf52a183985932947a5336b04e6f70b02985f483d40d0886bfd2",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": [
                                "oznu/guacamole@sha256:cb0b3cb9510a5cd9de38f59f3d1a9dab6b184bff0fd8b2452746805262ccc450"
                            ],
                            "RepoTags": null,
                            "SharedSize": -1,
                            "Size": 1359104705,
                            "VirtualSize": 1359104705
                        },
                        {
                            "Containers": -1,
                            "Created": 1484683589,
                            "Id": "sha256:45c3ea2cecac5fef8c3838cc4b58666657df8541e14437964c8b88f355f372c8",
                            "Labels": {},
                            "ParentId": "",
                            "RepoDigests": [
                                "redis@sha256:a027a470aa2b9b41cc2539847a97b8a14794ebd0a4c7c5d64e390df6bde56c73"
                            ],
                            "RepoTags": [
                                "redis:3.2.6"
                            ],
                            "SharedSize": -1,
                            "Size": 182874001,
                            "VirtualSize": 182874001
                        }
                    ],
                    "Info": {
                        "Architecture": "x86_64",
                        "BridgeNfIp6tables": true,
                        "BridgeNfIptables": true,
                        "CPUSet": true,
                        "CPUShares": true,
                        "CgroupDriver": "cgroupfs",
                        "ClusterAdvertise": "",
                        "ClusterStore": "",
                        "ContainerdCommit": {
                            "Expected": "9048e5e50717ea4497b757314bad98ea3763c145",
                            "ID": "fd189da3e13a3ef3d6d9eb73c5cd4697b4536cdd"
                        },
                        "Containers": 8,
                        "ContainersPaused": 0,
                        "ContainersRunning": 7,
                        "ContainersStopped": 1,
                        "CpuCfsPeriod": false,
                        "CpuCfsQuota": false,
                        "Debug": false,
                        "DefaultRuntime": "runc",
                        "DockerRootDir": "/volume1/@docker",
                        "Driver": "btrfs",
                        "DriverStatus": [],
                        "ExperimentalBuild": false,
                        "GenericResources": null,
                        "HttpProxy": "",
                        "HttpsProxy": "",
                        "ID": "OTI5:5MHE:3WPJ:CHYF:UCZM:K72V:5TSE:KAGV:FQUM:SAZZ:7FNL:2DG4",
                        "IPv4Forwarding": true,
                        "Images": 12,
                        "IndexServerAddress": "https://index.docker.io/v1/",
                        "InitBinary": "docker-init",
                        "InitCommit": {
                            "Expected": "949e6fa",
                            "ID": "7a83305"
                        },
                        "Isolation": "",
                        "KernelMemory": false,
                        "KernelMemoryTCP": false,
                        "KernelVersion": "3.10.105",
                        "Labels": null,
                        "LiveRestoreEnabled": false,
                        "LoggingDriver": "db",
                        "MemTotal": 8360570880,
                        "MemoryLimit": true,
                        "NCPU": 4,
                        "NEventsListener": 0,
                        "NFd": 57,
                        "NGoroutines": 65,
                        "Name": "SYNOLOGY",
                        "NoProxy": "",
                        "OSType": "linux",
                        "OomKillDisable": true,
                        "OperatingSystem": "<unknown> (containerized)",
                        "Plugins": {
                            "Authorization": [],
                            "Log": null,
                            "Network": [
                                "bridge",
                                "host",
                                "macvlan",
                                "null",
                                "overlay"
                            ],
                            "Volume": [
                                "local"
                            ]
                        },
                        "RegistryConfig": {
                            "AllowNondistributableArtifactsCIDRs": null,
                            "AllowNondistributableArtifactsHostnames": null,
                            "IndexConfigs": {
                                "docker.io": {
                                    "Mirrors": [],
                                    "Name": "docker.io",
                                    "Official": true,
                                    "Secure": true
                                }
                            },
                            "InsecureRegistryCIDRs": [
                                "127.0.0.0/8"
                            ],
                            "Mirrors": []
                        },
                        "RuncCommit": {
                            "Expected": "9c2d8d184e5da67c95d601382adf14862e4f2228",
                            "ID": "04b0c8fef1ac449f1a7a51e7c8020c02da1c6735"
                        },
                        "Runtimes": {
                            "nvidia": {
                                "path": "nvidia-container-runtime"
                            },
                            "runc": {
                                "path": "docker-runc"
                            }
                        },
                        "SecurityOptions": [
                            "apparmor"
                        ],
                        "ServerVersion": "17.05.0-ce",
                        "SwapLimit": true,
                        "Swarm": {
                            "ControlAvailable": false,
                            "Error": "",
                            "LocalNodeState": "inactive",
                            "NodeAddr": "",
                            "NodeID": "",
                            "RemoteManagers": null
                        },
                        "SystemStatus": null,
                        "SystemTime": "2019-08-29T21:40:57.017918491+02:00",
                        "Warnings": null
                    },
                    "Version": {
                        "ApiVersion": "1.29",
                        "Arch": "amd64",
                        "BuildTime": "2019-05-06T18:07:21.992946995+08:00",
                        "GitCommit": "371caef-synology",
                        "GoVersion": "go1.8",
                        "KernelVersion": "3.10.105",
                        "MinAPIVersion": "1.12",
                        "Os": "linux",
                        "Platform": {
                            "Name": ""
                        },
                        "Version": "17.05.0-ce"
                    }
                }
            }
        ]
    }
]
sinclairpaul commented 5 years ago

If I run a GET on api/endpoints/1/docker/containers/json with my creds set correctly I receive the details of the containers (I'm not using Postman, but its just a REST request). The addon is started with the noauth option as authentication is performed by nginx, so you should not need a token.

I don't know if there is a difference in the version of Portainer you run on your NAS vs the addon version.

I don't believe this is an issue with the addon, so will close, and would suggest you jump on Discord for more troubleshooting purposes.

joske500 commented 5 years ago

@sinclairpaul, I reinstalled Portainer and everything works as designed now.... Many thanks for your quick responses and suggestions, it certainly helped narrowing down the problem

addons-assistant[bot] commented 4 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.