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.

Enabling docker crashes server (7.2.4)

Featured Replies

Hi

I have been trying to get my server setup for 5-6 days and I've been running into issues.

Hardware:
Gigabyte Z790 Aorus Elite AX
Intel i5 12600k
Corsair Vengeance DDR5 2x8GB 5200mhz
2 20TB Barracuda drives (shucked from expansion drives)

I ran a memtest for 15ish hours and it passed with no errors. My drives show no errors. I check the logs before the crash and there are no errors. Attached is the most recent log file before the crash. You can see that I log in, enable docker, and stop the one container I have installed. I let the server run with just docker enabled and it crashes. When I have docker disabled it runs with no issue.

docker_settings.png

syslog-previous.txt

  • Community Expert

Does it stil crash with the Docker service enabled and the container stopped?

  • Author
3 minutes ago, JorgeB said:

Does it stil crash with the Docker service enabled and the container stopped?

Yes, the diagnostics I provided are when it crashed with just the docker enabled and no containers started.

  • Author

Small update, the one thing I hadn't tried was switching from macvlan to ipvlan in docker settings. I did that and enabled docker with containers stopped. So far it has been running smoothly, uptime almost 2 hours.

  • Author
6 minutes ago, trurl said:

Your diagnostics were actually without docker service started.

Setup syslog server

Sorry, just want to make sure I'm understanding. I currently have the mirror to flash option as "yes". Do I also have to set local syslog server to "enabled"?

  • Community Expert

I think you have it right. Both syslog and syslog-previous showed docker service starting, then syslog showed it being stopped, so docker.img was not actually mounted when the diagnostics were taken.

Neither syslog showed anything about crash.

  • Author

Right, so that's the issue. I've checked the logs every time it crashes and there's nothing indicating a crash or errors. I found an older post on here referencing crashes when docker uses macvlan.

Since restarting the server and switching docker to ipvlan it has not crashed yet, when normally it would have. I wonder if that has something to do with it? @JorgeB stated in a comment on that thread that having macvlan with bridging enabled could cause issues. I didn't change any network default settings until now, so it defaults to macvlan in docker with network settings having bridging and bonding enabled.

This is the post for reference:
https://forums.unraid.net/topic/151441-macvlan-crashes-6126/page/2/

Edited by Wieldy

  • Community Expert
25 minutes ago, Wieldy said:

I found an older post on here referencing crashes when docker uses macvlan.

This is no longer an issue since Unraid 6.12.11

  • Author
1 minute ago, JorgeB said:

This is no longer an issue since Unraid 6.12.11

Ok, but I will say, that since switching to ipvlan there are no crashes yet. Coming up on 3 hours running ipvlan with one docker enabled using a custom network. Bonding and bridging are still enabled.

Does anyone have theories as to why having docker use macvlan would cause a crash?

  • Author

Well, it crashed again with docker setting to ipvlan. I restarted the server disabled bonding and bridging and turned on docker with no containers. Docker is using macvlan since bonding and bridging are turned off.

I'm really starting to give up here. I ran memtest and it passed
I've run docker in default settings with no containers enabled and it crashed
I ran docker in ipvlan with no containers enabled and it crashed.
I don't enable docker and the server runs fine.
No errors on disks
No errors in log files.

Attached are the most recent log files.

apollo-diagnostics-20260309-1212.zip

  • Author

It is enabled. I attached the log in my last comment

  • Community Expert

Recommend setting it to save to a share, not the flash drive, as that can miss something if the flash drive is the problem, then add it separately since it doesn't'come with the diags.

  • Author

image.png

Is this correct?

  • Community Expert

You seem to be missing a 'dot' in that IP address.

  • Author

Ok, I fixed that. I guess I'll enable a container and get it to crash again to see if the logs changes.

  • Community Expert

Docker also logs to /var/log/docker.log, and that might contain the issue you're having. Somehow it doesn't end up in syslog.

Next time be sure to grab that file before rebooting / restarting the service.

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.