exoframejs / exoframe

Exoframe is a self-hosted tool that allows simple one-command deployments using Docker
https://exoframejs.github.io/exoframe/
1.14k stars 57 forks source link

Saving/persisting containers through docker swarm leave #288

Closed kyuumeitai closed 4 years ago

kyuumeitai commented 4 years ago

Hi there, great job!

Wondering if there's some way to save/persist the already deployed images in the case that a docker swarm leave was needed.

In my case, I added a key in authorized_keys and didn't know how to make exoframe-server recognize the keys without recreating the swarm.

Thank you!

yamalight commented 4 years ago

So, you've bundled keys into the custom image directly? 🤔 That's an interesting way of doing it, but I'd suggest using swarm volumes with custom drivers (e.g. NFS) - that way you can update keys without need to change anything but data inside the volume.

yamalight commented 4 years ago

Closing this, feel free to re-open if needed.