Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docker-on-golem

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-on-golem

A CLI utility that deploys Docker Swarm on top of Golem Network

  • 0.1.0
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Docker on Golem

About this project

This project aims to build up a docker swarm that will utilize the resources rented from Providers available within the Golem Network.

THe general idea is that as a user of this project, you should be able to:

  1. Request a defined amount of resources from the Providers on Golem Network
  2. The tool will deploy and configure the Docker Swarm for you
  3. You adda a docker context to your local Docker node
  4. You execute docker based workloads on the swarm deployed on top of Golem Network's resources

How to use it (as a Requestor)?

Installation

After you have installed yagna on your system by following the official installation guide.

npm i -g docker-on-golem@latest

Once you installed the tool, you can explore the available options using the help command

docker-on-golem --help

Usage

You can deploy your Docker Swarm using the following command:

docker-on-golem -k [your-yagna-app-key]
# You can use more options to fine tune the setup, check --help to explore the possibilities

Then, you can add a new docker context to your local docker configuration, to point the CLI to the swarm deployed on top of Golem Network:

docker context create golem-swarm --docker "host=tcp://localhost:3375"
docker context use golem-swarm

Now you should be able to use docker, docker compose or docker stack with this cluster.

How can I join the project as a Provider?

In order to become a Provider that's eligible (selectable), you will have to add few URLs to the whitelist on your provider nodes. You can use the following instructions.

Provider Requirements

  • Runtime name: vm
  • Runtime version: 0.4.2

Add outbound URLs to whitelist

ya-provider whitelist add -p registry-1.docker.io -t strict

...

Keywords

FAQs

Package last updated on 22 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc