Running a docker container for each user

So, I have this application as a service. Each application is user specific. Therefore, for each user, I would like to launch a new instance of docker. It should be possible to restart the docker instance where it was last. Therefore, it also needs permanent storage.

I would like to know if there is any library / structure that makes this easier? It would be great if this library was a golang library.

Hint1: It's not the same, but similar to services like koding.com, etc. launch a separate container for each user / user project.

+5
source share
1 answer

Take a look at the Giant Swarm . This allows you to create, deploy and manage your container applications (microservices). But I think that it is closed now.

Services running in Giant Swarm are defined in the file service definition. In this definition, you collect any number of Docker images, each of which forms a component according to your needs. Deploy services, first, you use the Docker client or the CI / CD pipeline to create and deploy Docker images. You then use the Giant Swarms client software or our API to start creating and orchestrating your Docker containers in the cluster based on your service and image.

+5
source

Source: https://habr.com/ru/post/1238821/


All Articles