Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgl/docker-swarm-cluster-ubuntu-vagrant
a 3-node docker swarm cluster wrapped in a vagrant environment
https://github.com/rgl/docker-swarm-cluster-ubuntu-vagrant
docker swarm ubuntu vagrant
Last synced: 2 months ago
JSON representation
a 3-node docker swarm cluster wrapped in a vagrant environment
- Host: GitHub
- URL: https://github.com/rgl/docker-swarm-cluster-ubuntu-vagrant
- Owner: rgl
- Created: 2017-07-04T08:23:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T08:08:32.000Z (over 4 years ago)
- Last Synced: 2024-10-03T18:52:26.227Z (3 months ago)
- Topics: docker, swarm, ubuntu, vagrant
- Language: Shell
- Size: 21.5 KB
- Stars: 7
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
a 3-node docker swarm cluster wrapped in a vagrant environment
# TODO
* Install http://port.us.org/
* Use https://github.com/codedellemc/rexray with https://hub.docker.com/r/rexray/rbd/ for ceph storage
AND see https://github.com/codedellemc/labs too
OR https://github.com/contiv/volplugin
* Install https://github.com/weaveworks/scope
* Install https://github.com/goharbor/harbor instead of the vanilla repository# Usage
Build and install the [Ubuntu Linux Base Box](https://github.com/rgl/ubuntu-vagrant).
Add the following entries to your `/etc/hosts` file:
```
10.10.0.201 registry.example.com
10.10.0.201 docker1.example.com
10.10.0.202 docker2.example.com
10.10.0.203 docker3.example.com
```Run `vagrant up` to launch the 3-node cluster.
Try the following endpoints:
* [portainer](http://docker1.example.com:9000): a [Portainer](https://portainer.io/) instance that you can use to manage docker.
* [go-info](http://docker1.example.com:8000): a example that shows how an Go application can use secrets and configs.# Troubleshoot
* Set the docker daemon debug mode and watch the logs:
* set `"debug": true` inside the `/etc/docker/daemon.json` file
* restart docker with `systemctl restart dockerd`
* watch the logs with `journalctl --follow`