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

pier-docker-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pier-docker-cli

A CLI to choose what project going to run locally

latest
npmnpm
Version
0.5.6
Version published
Maintainers
1
Created
Source

picture

pier-docker-cli

Introduction

The purpose of pier-docker-cli is to change the docker-compose.yml of pier projects and according to past arguments, define which services will be raised locally and which using remote images.

:cloud: Installation

# Using npm
npm install -g pier-docker-cli

# Using yarn
yarn global add pier-docker-cli

Configuration file example

  {
  "services": {
    "pier-service": {
      "remote": "url-image",
      "local": "local-path"
    },
    "pier-service-2": {
      "remote": "url-image",
      "local": "local-path"
    }
  }
}

Documentation

Usage

pier-docker-cli  [--help] [--config] [--services [create | update | delete]] [-f <file>]
                 [-p main-service] [--run-local -- [service1, service2, service3]]

Args

  • --help Show all comands;
  • --config Show the current config
  • --services (create|update|delete): The services.
  • -p Tell the pier-docker-cli which base project we want to execute. (To prevent us from changing the project being executed)
  • -f (Optional | Default: docker-compose.yml): Indicates a compose.yml of the project to be used by the cli.
  • --run-local -- (String): Defines the services that will be raised locally.

Example of use

pier-docker-cli -f docker-compose-test.yml -p main_service --run-local -- service1 service2

Keywords

cli

FAQs

Package last updated on 07 Oct 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