Skip to content

a 3-node docker swarm cluster wrapped in a vagrant environment

Notifications You must be signed in to change notification settings

rgl/docker-swarm-cluster-ubuntu-vagrant

Repository files navigation

a 3-node docker swarm cluster wrapped in a vagrant environment

TODO

Usage

Build and install the Ubuntu Linux Base Box.

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: a Portainer instance that you can use to manage docker.
  • go-info: 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

About

a 3-node docker swarm cluster wrapped in a vagrant environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages