New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bitliner/docky

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitliner/docky

Docky generates **bash** scripts to manage multiple Docker containers.

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Docky - Toolkit for Docker

Docky generates bash scripts to manage multiple Docker containers.

Docker containers are described inside a Yaml file, following the same format of docker-compose.

Requirements

Installation

npm install -g docky

Usage

  1. create docker-compose.yml file. It looks like
 web:
  build: .
  ports:
    - "5000:5000"
  volumes:
    - .:/code
  links:
    - redis
 redis:
   image: redis
  1. run docky ./docker-compose.yml to generate docky.sh file
  2. run ./docky.sh to list avaiable commands

Example of available commands

Alt text

Workflow

run command

Commands

Commands to manage all container at once

$ ./docky run # run all containers
$ ./docky start # start all containers
$ ./docky stop # stop all containers
$ ./docky build # build all images
$ ./docky push # push all images
$ ./docky pull # pull all images

Commands to manage a single container

Just add _<container_name> to the commands above to manage all containers at once.

$ ./docky run_<container_name> # run <container_name> container
$ ./docky start_<container_name> # start <container_name> container
$ ./docky stop_<container_name> # stop <container_name> container
$ ./docky build_<image_name> # build <image_name> image
$ ./docky push_<image_name> # push <image_name> image
$ ./docky pull # pull all images

FAQs

Package last updated on 19 Nov 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc