Giter Club home page Giter Club logo

dock-cli's Introduction

Dock CLI

Scrutinizer Code Quality Build Status

This CLI application provides an abstraction layer for Docker-based projects.

Note: right now, it's focused on OSX and Debian-based Linux distributions.

Getting started

This tool also helps you to install our recommended Docker setup on your computer, including direct container routing and DNS resolutions.

Read the installation instructions.

Project-related usage

You can now start up a specific project by running the start command in the project directory:

dock-cli start

Once the containers are compiled and started, this start command will display you an overview of the running components and their addresses (that you can also to have later with the ps command).

Example output using the docker-php-example project

Commands

The following commands are available:

System commands

Project commands

  • start command starts the Docker environment for the project.
  • stop command stops the running Docker containers of the project.
  • ps command list all the project containers if any.
  • logs command follows the logs of all or a given container.
  • run command run a command in a container with the application context.
  • reset command kill, remove and starts the containers.
  • build command build Docker images and resets the containers.

Plugins

In order to improve developer experience, we are also shipping dock-cli with some plugins.

  • Extra host names that will automatically configure your system to use given host names for your application components.

Update

To update this tool, simply run the self-update command:

dock-cli self-update

Contributing

Note If you are cloning this repository then one of the packages included in the vendors requires the ssh2 PHP extension. If you do not have this installed and do not require the associated functionality then you can ignore this requirement when installing the vendors:

composer install --ignore-platform-reqs

dock-cli's People

Contributors

sroze avatar tasuki avatar richardmiller-zz avatar kierenevans avatar tonypiper avatar elfiggo avatar mareg avatar petemcfarlane avatar rightsaidjames avatar phalasz avatar meyerbaptiste avatar g-foster2020 avatar shanethehat avatar tucksaun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.