New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Swarm support? #165

Closed
kristiandrucker opened this Issue Feb 19, 2017 · 9 comments

Comments

3 participants
@kristiandrucker
Copy link

kristiandrucker commented Feb 19, 2017

Hi, please may you support docker swarm deployment?

@kaiyou

This comment has been minimized.

Copy link
Member

kaiyou commented Feb 23, 2017

I don't think that we need anything specific for deploying on Docker Swarm, do we? Only problem for now will be the storage part, which requires that most of the containers are on the same host or share an underlying storage layer.

@kaiyou kaiyou added the question label Feb 23, 2017

@kristiandrucker

This comment has been minimized.

Copy link
Author

kristiandrucker commented Feb 23, 2017

You can use it's integrated storage driver and when a user would like to access that storage, they will simply need to create a docker container and attach it to the volume.

@kaiyou

This comment has been minimized.

Copy link
Member

kaiyou commented Mar 8, 2017

Okay, would we need to add anything to the current project to support Docker Swarm?

@kristiandrucker

This comment has been minimized.

Copy link
Author

kristiandrucker commented Mar 8, 2017

@kaiyou Could you rewrite docker compose to v3, so It can be deployed via docker stack.

@kaiyou

This comment has been minimized.

Copy link
Member

kaiyou commented Mar 19, 2017

I do not think it needs rewriting, simply updating the version, I will run some tests.

@kristiandrucker

This comment has been minimized.

Copy link
Author

kristiandrucker commented Mar 19, 2017

@kaiyou Ok

@kaiyou

This comment has been minimized.

Copy link
Member

kaiyou commented Mar 19, 2017

I confirm that you can simply change the Compose version number to 3 and get it up. You will need the latest Docker version though, which is why I won't be adding this to the repository until a couple more weeks/months.

@kristiandrucker

This comment has been minimized.

Copy link
Author

kristiandrucker commented Mar 19, 2017

I will try it on my system

@kaiyou kaiyou closed this May 4, 2017

@curry684

This comment has been minimized.

Copy link
Member

curry684 commented May 4, 2017

I would heartily recommend against doing this without further infrastructure like Ceph or Gluster in place, or at the very least NFS for database and mailboxes. Keep in mind that a host going down means the affected containers will be rescheduled on other hosts, and that effectively will mean your system will still be up then with empty configuration, or empty mailboxes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment