« Back to projectatomic.io
Ask Your Question

Reboot save volume?

asked 2015-01-13 19:49:27 +0000

pwFoo gravatar image

updated 2015-02-11 17:36:44 +0000

After some testing volumes seems not persistent.

After restart a docker container volume data is lost. Because I would use a mysql container it's importand to have the database volume persistent and also container and atomic host reboot save...

I know "docker commit" to save the changes and thats fine to save some minor changes, but can't be used to save a changing database volume.

Is there a way to write the changes to the host? Haven't tried hostDir yet because I read some posts about bugs with it...

Is there a way to use local / docker host stored (persist) volumes with correct folder permissions? Need it for databases. No cluster, single docker host.

edit retag flag offensive close merge delete


I found da data only container article which should work? But how could a build a data only container with kubernetes? Or is it necessary to go back to native docker to get a persist and reboot save volume / data only container?

pwFoo ( 2015-01-14 10:07:44 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-03 07:03:40 +0000

I generally know about "Cloudbacko pro software" only try using may be it will help you. actuallty it has 30 days free trial period one can use it for free also. but now i am using a paid version only and quite satisfied with its working leaving a link have a look at the website.http://www.cloudbacko.com/

edit flag offensive delete link more


Thanks, but why I can't use a volume container like with native docker? I tried a hostDir pod, but after that my devicemapper seems crashed and won't work anymore :( Device mapper issue: http://ask.projectatomic.io/en/question/187/device-mapper-error/

pwFoo ( 2015-02-03 09:35:08 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2015-01-13 19:49:27 +0000

Seen: 298 times

Last updated: Feb 11 '15