What is "Docker Socket Proxy" needed for in NC AIO?

I’ve installed all of the optional containers as part of an AIO installation other than “Docker Socket Proxy”.

I’m now seeing errors in the “Administration… Logging… Log Reader”:
“Error - app_api - Deploy daemon “docker_aio” is not accessible by Nextcloud. Please verify its configuration”
“Error - app_api - ConnectException
cURL error 6: Could not resolve host: nextcloud-aio-docker-socket-proxy (see libcurl - Error Codes) for http://nextcloud-aio-docker-socket-proxy:2375/v1.41/_pin
“Warning - app_api - Deploy daemon “docker_aio” is not accessible by Nextcloud. Please verify its configuration”

I’ve read through the documentation, including " We highly recommend to use it in all cases , except for Nextcloud AIO , in that case use the standard Nextcloud AIO Docker Socket proxy." which one could assume (which I hate to do) means the “Docker Socket Proxy” in the AIO “optional containers” screen is AIO specific…

Not sure if the error is a false positive in the logs but should the “Docker Socket Proxy” (for AIO) be installed and if so why - what applications would it be supporting in an AIO installation, if any, and what could be causing the log entries?

Hi, can you post the exact error message here?

Must have deleted them earlier from the post when formatting them, added them back -

“Error - app_api - Deploy daemon “docker_aio” is not accessible by Nextcloud. Please verify its configuration”

“Error - app_api - ConnectException
cURL error 6: Could not resolve host: nextcloud-aio-docker-socket-proxy (see libcurl - Error Codes) for http://nextcloud-aio-docker-socket-proxy:2375/v1.41/_pin”

“Warning - app_api - Deploy daemon “docker_aio” is not accessible by Nextcloud. Please verify its configuration”

I did not install the docker socket proxy as part of the initial installation - but could add it if it’s not going to create any issues, just don’t know what is looking for it if anything.

Hm… I think this is a false-positive. Can you navigate to the appstore and disable the app api app?

It’s there and active, I disabled it, had not installed it…

Having read a post recommending not to install “Docker Socket Proxy” in AIO as it could cause issues with a NextCloud Docker installation is that actually the case or is it ok to install by default to remain for future use?

What will it actually do - and remain passive until an app needing it is installed?

The docker socket proxy and app api are both needed if you want to install an external app: AppAPI and External Apps — Nextcloud latest Administration Manual latest documentation

Until you dont need any of them, you can disable both components.

Btw, the logic inside AIO will be improved in the future to disable the app_api app automatically if the docker socket proxy is not enabled. See nextcloud-entrypoint: adjust logic around app api app by szaimen · Pull Request #5843 · nextcloud/all-in-one · GitHub.

1 Like

This is now released with v10.4.0 Beta. Testing and feedback is welcome! See GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.