Skip to content
forked from jenssegers/captain

⚓️ Easily start and stop docker compose projects

Notifications You must be signed in to change notification settings

Areedtz/captain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Captain

Build Status

Easily start and stop docker compose projects with captain, arrrrr.

Installation

Binaries can be manually downloaded from GitHub releases: https://github.com/jenssegers/captain/releases

OSX

curl -L https://github.com/jenssegers/captain/releases/download/0.3.3/captain-osx > /usr/local/bin/captain && chmod +x /usr/local/bin/captain

Linux

curl -L https://github.com/jenssegers/captain/releases/download/0.3.3/captain-linux > /usr/local/bin/captain && chmod +x /usr/local/bin/captain

Windows (untested)

Download captain.exe via https://github.com/jenssegers/captain/releases/download/0.3.3/captain.exe

Usage

Captain searches for docker-compose projects in your $HOME folder and allows you to start and stop those projects by matching the project's directory name.

Commands

NAME:
   captain - Start and stop docker compose projects

USAGE:
   captain [global options] command [command options] [arguments...]

VERSION:
   0.7.0

COMMANDS:
     start, up, sail   Start a docker compose project or container(s)
     stop, down, dock  Stop a docker compose project or container(s)
     restart           Restart a docker compose project or container(s)
     build             Build a docker compose project or container(s)
     logs              View container output from a docker compose project or container(s)
     abandon           Stop all running docker containers
     pull              Pull a docker compose project
     exec              Execute a command in a service in a docker compose project
     list, ls          List available docker compose projects
     run               Executing command as a new service container
     help, h           Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Tweak the running

You can tweak some behaviour through some environmental variables:

  • CAPTAIN_ROOT: the starting directory from where the docker-compose are searched (default: home dir of the user)
  • CAPTAIN_DEPTH: the number of subdirectory where to search the docker-compose.yml files (default: 5)

About

⚓️ Easily start and stop docker compose projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 93.5%
  • Makefile 6.5%