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.

Cannot remove a docker container

Featured Replies

I want to remove a docker container. The GUI just says:image.png.c44c98bb65cb4354b1ca6864ece747f9.png

Now I wanted to remove the container with the cli but the cli returns 

root@unRaid:~# docker rm 47244236f0a2
Error response from daemon: container 47244236f0a24da8ce158b796b9e557dd04cba77f922bab3d0a76d4bdd0982c8: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r cache/system/d8f124cfbf02c4e04bd4011a22ee8280d6443b0c1dadc89513335f73e044e652" => cannot unmount '/var/lib/docker/zfs/graph/d8f124cfbf02c4e04bd4011a22ee8280d6443b0c1dadc89513335f73e044e652': unmount failed

Ok, then I thought I'd see if I could delete the ZFS dataset. I found it with ZFS Master, clicked on Destroy and this is what happened.

I see the Dataset two times and booth are returning:

image.thumb.png.63f856bada1c0bed369b3baa5b3b213e.png 

image.png.0401df88af72ed5fa94ce44acf3a11f3.png

 

What is the problem?

Solved by Roalkege

  • Community Expert

Docker container are removed over the Docker page, not the zfs master plugin. Those snapshots are all created by the dockerservice.

  • Author
4 minutes ago, Mainfrezzer said:

Docker container are removed over the Docker page, not the zfs master plugin. Those snapshots are all created by the dockerservice.

Yeah and the docker page gives me: Execution Error

  • Community Expert

You would need to post the diagnostics because we can only ask the magic crystal ball for this "execution error".

the zfs plugin/ the snapshots in general are not the way. Snapshots are, well, snapshots not the actual data^^

Edited by Mainfrezzer

  • Author
  • Solution

After an unwanted power outage, I can now remove the container

  • Community Expert
19 minutes ago, Roalkege said:

After an unwanted power outage, I can now remove the container

Life lemons, lemonade :D something positive from it at least. 

Strolling through the files, i do notice youre running 6.13.3 but run an incompatible go file script. 

The 1.4 version of the Ram-log script does not work in 6.12.3

Version 1.6 for 6.12.3

If you decide to upgrade to 6.12.4, the code can be found a bit further down.

  • Author
48 minutes ago, Mainfrezzer said:

Life lemons, lemonade :D something positive from it at least. 

Strolling through the files, i do notice youre running 6.13.3 but run an incompatible go file script. 

The 1.4 version of the Ram-log script does not work in 6.12.3

Version 1.6 for 6.12.3

If you decide to upgrade to 6.12.4, the code can be found a bit further down.

Good to know. Thank you!

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.