push.fs

1.0.0 • Public • Published

Push.fs

A module to push messages using file system in order to send information from inside a Docker container to the host machine.

The premise is that a directory can be shared using the "Volumes" functionnality, a NodeJS process inside the Docker container can write to that directory and a listener one can watches modifications to the host-side directory, quickly and without any bugs.

This package was written due to issues encountered when using the IPC protocol with Docker Desktop on Windows.

Private class variables are not supported everywhere, so functions setters are used instead.

Installation

npm install -s push.fs

...or :

yarn add push.fs

Usage

Todo, you can see an exemple in the tests folder.

Package Sidebar

Install

npm i push.fs

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.77 kB

Total Files

8

Last publish

Collaborators

  • cedrictailly