You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-modem will help you interacting with Docker, since it already implements all the network strategies needed to support all Docker's Remote API endpoints.
It is the module powering (network wise) dockerode and other modules.
Usage
Getting started
varModem=require('docker-modem');varmodem1=newModem({socketPath: '/var/run/docker.sock'});varmodem2=newModem();//defaults to above if env variables are not usedvarmodem3=newModem({host: 'https://192.168.1.10',port: 3000});varmodem4=newModem({protocol:'http',host: '127.0.0.1',port: 3000});varmodem5=newModem({host: '127.0.0.1',port: 3000});//defaults to http
SSH
You can connect to the Docker daemon via SSH in two ways:
Licensed under the Apache license, version 2.0 (the "license"); You may not use this file except in compliance with the license. You may obtain a copy of the license at:
Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.