https://github.com/its-alex/docker-buildx-cluster
Setup buildx cluster between VMs
https://github.com/its-alex/docker-buildx-cluster
Last synced: 7 days ago
JSON representation
Setup buildx cluster between VMs
- Host: GitHub
- URL: https://github.com/its-alex/docker-buildx-cluster
- Owner: Its-Alex
- Created: 2022-03-11T13:44:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T14:41:05.000Z (about 4 years ago)
- Last Synced: 2025-02-23T11:12:28.568Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Docker buildx cluster
This repo aim to setup a docker buildx cluster between two VMs to perform tests.
### Requirements
- [`Vagrant`](https://www.vagrantup.com/)
- [`Virtualbox`](https://www.virtualbox.org/)
### How to
First you must start the VMs:
```shell
$ vagrant up
```
Then you need to connect to the first VM:
```shell
$ vagrant ssh buildx1
```
Add the ssh-key:
```shell
$ ssh-add /vagrant/ssh-key/id_ed25519
```
Create buildx context:
```shell
$ /vagrant/scripts/docker-create-nodes.sh
```
Check that buildx context has been successfully created:
```shell
$ docker buildx inspect --bootstrap cluster_builder
```
## License
MIT