-
Notifications
You must be signed in to change notification settings - Fork 655
User-docker sucks with docker-17.12.1+ #2300
Comments
In my testing, the problem may be on If the problem has already occurred, user-docker cannot work. The workaround is to rebuild the console, you can use |
Another situation can cause the same prbolem: There's something different about docker-17.09:
The unmount logic can cause overlay problem in ROS, the directory The following backing filesystems are supported by
So the errors occur as below:
Maybe my understanding is the wrong, please let me know if anyone who has the idea or solution. |
Docker will umount the data root dir caused by this moby/moby#36107 .
Look at these code, Docker will umount data root in these scenarios. Check our mount info in RancherOS:
The root and mount point are the same, so Docker can umount In general, we have three ways to solve this problem:
|
To fix this issue, I decided to change
|
This situation should also be addressed by moby/moby#36879 |
@thaJeztah Cool, we will test it in next docker-ce stable release. |
Fixed in rancheros v1.4.0-rc2 |
@niusmallnan I was able to restore my user-docker data by following the steps mentioned by you. Thank you for that. :) But now, I realise that there as a lot of space being used since the same data is present on both locations |
Is it safe to delete the old folder after copying it to user-docker? |
Yes, you can delete the old folder. |
@niusmallnan, I think you should also use For example, without this, I found that I could not start up |
Is this still the case? |
@prologic, yes, this just happened to me upgrading from 1.0.4 to 1.4.0. @niusmallnan's steps to restore containers / volumes worked for me as well. |
I had to restart the machine with the following command to ensure (user-)docker actually finds the old containers, volumes and networks again. I did this instead of the last
|
Same here. `sudo reboot` solved the problem.
Am 15. August 2018 15:08:39 GMT+01:00 schrieb Emmanuel Frecon <notifications@github.com>:
…I had to restart the machine with the following command to ensure
(user-)docker actually finds the old containers, volumes and networks
again.
system-docker shutdown -r now
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#2300 (comment)
|
Where is Also, I updated before reading this and I am applying the fix after the fact. Am I screwed, or can I recover the data this way? |
Would a symlink work as well? Just in case I need to roll back. I'm on 1.3.0 wanting to upgrade to the latest. |
@wywywywy Please try this comment #2300 (comment) |
RancherOS Version: (ros os version)
v.1.3.0-rc1
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
AWS
Switch docker-17.12.1-ce to docker-17.09.1-ce, the docker driver uses vfs by default。
I found the following error log in docker.log
The text was updated successfully, but these errors were encountered: