Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mssio/53e4413727b0958f0e8c to your computer and use it in GitHub Desktop.
Save mssio/53e4413727b0958f0e8c to your computer and use it in GitHub Desktop.
Step By Step Running Multiple Docker Container in Core OS Cluster

Step By Step Running Multiple Docker Container in Core OS Cluster

  1. Create docker image for Node App (use this as reference for Dockerfile)
  2. Push the Node App image to Docker Hub
  3. Ensure that fleetctl is running and working from your local shell command
  4. Create new Node service template file (use this as reference for node@.service)
  5. Create docker image for Nginx load balancer (follow this tutorial to create nginx load balancer) 
  6. Push the Nginx image to Docker Hub
  7. Create new Nginx service template file (use this as reference for nginx_lb@.service)

By following these 7 steps you should have multiple instances of Core OS running within load balancer in any cloud provider.

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