Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DockerClient->startContainer return: Server error - what does it mean?

Featured Replies

Hi,

 

I use the https://github.com/limetech/webgui/blob/master/plugins/dynamix.docker.manager/include/DockerClient.php to stop/start some containers. It returns `$code` which is normally "1". But sometimes I get "Server error" back. But I dont see any messages inside the system log. What could cause "Server error" and how could I debug it?

 

Thanks in advance!

 

nas-diagnostics-20221129-1738.zip

Unraid 6.11.5

An error preventing the container from starting.  eg: port already in use etc

 

docker run would probably tell you why

  • Author
20 minutes ago, Squid said:

docker run would probably tell you why

Are those actions not logged via docker.log?

 

I remember, that I got something out of docker, using docker run:

Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: time="2022-11-09T17:46:39+01:00" level=fatal msg="failed to set IPv6 gateway while updating gateway: file exists": unknown
Error: failed to start containers: mysql

 

I dont know if this is a docker issue only here.

 

However, does the API (used by DockerClient) return more info here, which could be added to the return variable?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.