Praqma / staci

Containerizing the Atlassian tools stack. Jira, Confluence, Bamboo and a MySQL database.
MIT License
12 stars 5 forks source link

Volumes from containers #6

Closed buep closed 7 years ago

buep commented 8 years ago

We should mount volumes on the hosts, they should be data containers. That is the recommended way of using docker currently as far as I know.

It could also make it easier to migrate?

hoeghh commented 8 years ago

The problem right now is, at as of Docker 1.8 theres no User namespace mapping from host to container. They have it planned for 1.9. Then it makes alot of sence. Right now you have to do a hack to get it to work with other users then root.

https://github.com/docker/docker/wiki/Engine-1.9.0

buep commented 8 years ago

okay, then lets wait

hoeghh commented 8 years ago

Volumes from should not be used. When running STACI locally, volumes on host filesystem can be used, but on a cluster (with use of a provider) we should support Flocker or alike : https://clusterhq.com/flocker/introduction/