isvein Posted July 4, 2023 Share Posted July 4, 2023 (not sure if this is the right forum) Hello Im just curious, when using docker folder (not image) under zfs, it creates a lot of datasets and it seems to automatic take snapshots ether when dockers update or gets added, why does this happen? Is it by design? It looks to be more datasets than I have containers. 1 Quote Link to comment
JorgeB Posted July 4, 2023 Share Posted July 4, 2023 That's a known zfs issue, you can use an xfs or btrfs image on zfs to avoid that. 1 Quote Link to comment
isvein Posted July 4, 2023 Author Share Posted July 4, 2023 50 minutes ago, JorgeB said: That's a known zfs issue, you can use an xfs or btrfs image on zfs to avoid that. So it's more of a bug than a feature then, thanks 🙂 Quote Link to comment
bambi73 Posted July 7, 2023 Share Posted July 7, 2023 On 7/4/2023 at 1:06 PM, isvein said: So it's more of a bug than a feature then, thanks 🙂 I would say it isn't bug, it's feature Docker ZFS storage driver manual page describes how is Docker using ZFS datasets snapshots and clones to build image hierarchy. I didn't tried it myself yet (because afaik there is no clean migration path) but I would kind of expect results what you are describing. Out of curiosity, how many datasets (and for how many containers) it created? 1 Quote Link to comment
isvein Posted July 8, 2023 Author Share Posted July 8, 2023 8 hours ago, bambi73 said: I would say it isn't bug, it's feature Docker ZFS storage driver manual page describes how is Docker using ZFS datasets snapshots and clones to build image hierarchy. I didn't tried it myself yet (because afaik there is no clean migration path) but I would kind of expect results what you are describing. Out of curiosity, how many datasets (and for how many containers) it created? I dont remember how many datasets, switched back to btrfs image for the docker. But I have 24 dockers and it was way more datasets, maybe double Quote Link to comment
bambi73 Posted July 8, 2023 Share Posted July 8, 2023 12 hours ago, isvein said: I dont remember how many datasets, switched back to btrfs image for the docker. But I have 24 dockers and it was way more datasets, maybe double Ok, thanks. Btw how did you migrated your containers? Or did you recreated them all? Quote Link to comment
isvein Posted July 9, 2023 Author Share Posted July 9, 2023 7 hours ago, bambi73 said: Ok, thanks. Btw how did you migrated your containers? Or did you recreated them all? Just delete the docker folder after stopping docker and created a new image Then used the Appstore to just redownload all previous installed dockers with latest saved config, since no important data is saved in the docker images 1 Quote Link to comment
Recommended Posts
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.