1.1.1 • Published 9 years ago

@bitliner/docky v1.1.1

Weekly downloads
2
License
ISC
Repository
-
Last release
9 years ago

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
1.1.1

9 years ago

1.1.0

9 years ago

1.0.25

9 years ago

1.0.24

10 years ago

1.0.23

10 years ago

1.0.22

10 years ago

1.0.21

10 years ago

1.0.20

10 years ago

1.0.19

10 years ago

1.0.18

10 years ago

1.0.17

10 years ago

1.0.16

10 years ago

1.0.15

10 years ago

1.0.14

10 years ago

1.0.13

10 years ago

1.0.12

10 years ago

1.0.11

10 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago