npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@danimart1991/node-red-docker

v0.1.5

Published

A set of Node-RED nodes to use with a Docker server.

Downloads

30

Readme

@danimart1991/node-red-docker

Platform License NPM Known Vulnerabilities Total Downloads GitHub last commit Tip Me via PayPal Sponsor Me via GitHub

A set of Node-RED nodes to use with a Docker Server.

Install

As other custom nodes, the recommendation is to install using the "Manage Palettes" option in Node-RED.

Indeed, these nodes are available as individual npm package. This repository acts as an overall store for the nodes - and is not intended as a way to install them - unless you really do want some development.

$ npm install @danimart1991/node-red-docker

Usage

All the nodes have a Server parameter that must be configured to work (see Config below).

Config

A configuration node that holds the credentials of a Docker Server. All the nodes need this node to work.

Two configuration options are valid to correctly configure this node:

  • URL+Port: It's the server's URL used to connect to Docker Server, including http(s)://, port, and urlbase if required.
  • Socket Path: The Socket Path used to connect to the Docker Server.

Nodes

  • Containers: Brings different options to work with the Docker Containers in the server like List, Inspect, Start, Stop,...

Log

In addition, all the nodes have a Log output that offers information on how the execution has worked.

{
    "payload": {
        "source": {
            "id": "0f12103e2251c436",
            "type": "docker-containers-list"
        },
        "level": "Info",
        "message": "15 Container/s returned"
    },
    "_msgid": "4c1261a1eb9bfb44"
}

| Property | Type | Description | | --------------------- | -------- | --------------------------------------------------------------------------- | | payload.level | string | The log Level: Debug, Info, Warn, Error, Critical or Other. | | payload.message | string | The log Message. | | payload.source.id | string | The Id of the node that threw the log. | | payload.source.type | string | The Type of the node that threw the log. | | payload.source.name | string | The Name, if set, of the node that threw the log. |

Author

Daniel Martin Gonzalez

License

Apache 2.0