You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an old Linux distro and trying to update the kernel from 3.13 to 4.x. After that upgrade docker wouldn't start with the error initializing graphdriver: driver not supported error.
I found several posts that say "aufs is not supported anymore, use overlay".
Okay, those tell you to rm -rf /var/lib/docker/aufs and "re-recreate containers". But many people, especially in this post are asking what that means. They talk about some docker data is "temporary", but this doesn't seem right. My data is in mongodb, I use the MongoDB plugin with dokku, mounted on an external volume.
What is the correct upgrade procedure with dokku to change docker aufs to overlay? Is rm -rf /var/lib/docker/aufs safe? What will I have to do after I do this to "recreate containers" with dokku? Do I need to save and restore existing containers?
Steps to reproduce
Upgrade Linux kernel from 3.13 to 4.x, be DOA.
dokku report $APP_NAME
N/A
Additional information
uname -a
Linux dblock-plum 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
dblock
changed the title
Safe upgrade of docker when using dokku (aufs storage driver)
Safe upgrade of docker when using dokku (aufs storage driver removed)
Dec 11, 2022
dblock
changed the title
Safe upgrade of docker when using dokku (aufs storage driver removed)
Safe upgrade of docker when using dokku (aufs storage driver)
Dec 11, 2022
Note: this isn't a bug with Dokku, but a request for support on Docker (kernal/os?) upgrades.
A few things:
Always take a backup.
Ubuntu 16.04 is no longer supported, so trying to upgrade just the kernel on the OSS is certainly going to be painful and I don't think it'll work as is.
It might be easier to just use a fresh server than try to upgrade Ubuntu 16.04 to the latest stable LTS (22.04 as of this writing).
We have docs on doing that here, which may be helpful for migrating servers (you can test it out :) ).
The official dokku plugins store data in /var/lib/dokku/services.
As far as I know, only ephemeral container data is stored in that aufs path.
Hope that helps. Good luck on your upgrade path, whatever that may be.
Description of problem
I have an old Linux distro and trying to update the kernel from 3.13 to 4.x. After that upgrade docker wouldn't start with the
error initializing graphdriver: driver not supported
error.I found several posts that say "aufs is not supported anymore, use overlay".
https://itecnote.com/tecnote/docker-prior-storage-driver-aufs-failed-driver-not-supported-error-starting-daemon-error-initializing-graphdriver-driver-not-supported/
https://stackoverflow.com/questions/33357824/prior-storage-driver-aufs-failed-driver-not-supported-error-starting-daemon
https://stackoverflow.com/questions/52617727/cannot-start-docker-daemon-graphdriver-issue
Okay, those tell you to
rm -rf /var/lib/docker/aufs
and "re-recreate containers". But many people, especially in this post are asking what that means. They talk about some docker data is "temporary", but this doesn't seem right. My data is in mongodb, I use the MongoDB plugin with dokku, mounted on an external volume.What is the correct upgrade procedure with dokku to change docker aufs to overlay? Is
rm -rf /var/lib/docker/aufs
safe? What will I have to do after I do this to "recreate containers" with dokku? Do I need to save and restore existing containers?Steps to reproduce
Upgrade Linux kernel from 3.13 to 4.x, be DOA.
dokku report $APP_NAME
N/A
Additional information
Output of failing commands after running: dokku trace:off
No response
Output of failing commands after running: dokku trace:on
No response
The text was updated successfully, but these errors were encountered: