https://github.com/callicoder/go-docker-swarm
Golang Docker Machine, Docker Swarm, Docker Stack Example
https://github.com/callicoder/go-docker-swarm
docker docker-machine docker-stack docker-swarm swarm-manager
Last synced: about 2 months ago
JSON representation
Golang Docker Machine, Docker Swarm, Docker Stack Example
- Host: GitHub
- URL: https://github.com/callicoder/go-docker-swarm
- Owner: callicoder
- Created: 2018-12-23T11:53:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-25T02:29:42.000Z (almost 6 years ago)
- Last Synced: 2025-04-19T08:34:30.324Z (2 months ago)
- Topics: docker, docker-machine, docker-stack, docker-swarm, swarm-manager
- Language: Go
- Size: 8.79 KB
- Stars: 13
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## go-docker-swarm
+ **Docker**: Create a single container.
+ **Docker Compose**: Manager and Orchestrate multiple containers on a single host.
+ **Docker Machine**: Create and manage VMs running docker daemon.
+ **Docker Swarm**: A Cluster of docker nodes.
+ **Docker Stack**: Deploy, Manage, and Orchestrate multiple containers on a swarm cluster.## Running the app on a single host using docker-compose
```bash
$ docker-compose up
``````bash
$ curl http://localhost:8080/
3f741654cee0: Welcome! Please hit the `/qod` API to get the quote of the day.$ curl http://localhost:8080/qod
3f741654cee0: If I work as hard as I can, I wonder how much I can do in a day?
```## Running the app on a swarm cluster using docker-stack
Read the tutorial: [Container Orchestration with Docker Machine, Docker Stack, and Swarm](https://www.callicoder.com/docker-machine-swarm-stack-golang-example/)