New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@sovrin/docker-api-proxy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sovrin/docker-api-proxy

safely proxy http requests to docker fd socket via nodejs

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

docker-api-proxy

safely proxy http requests to docker fd socket via nodejs

Installation

npm i sovrin@docker-api-proxy -g

About

docker-api-proxy forwards all http requests by a single randomly generated endpoint to the docker daemon. This allows communication with the outside world (e.g. for Portainer) provided the client knows the complete url.

Usage

$ dap -h

Options

  • -i: whitelist ips (delimited by ;)
  • -e: set custom endpoint
  • -s: set custom socket path (default: on windows: //./pipe/docker_engine | on unix: /var/run/docker.sock)
  • -p: set port (default: 3000)
  • -g: generate new endpoint
  • -h: print out cli options

Note: If using a custom endpoint, its highly recommended to use a long and not so easy to guess endpoint. Obviously only URL safe characters are allowed.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Keywords

docker

FAQs

Package last updated on 04 Sep 2019

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