Skip to content

sudoash/zeus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED: This project has been retired due to it no longer being a helpful utility in modern Docker setups.

Zeus

Zeus is a utility wrapper for Docker on macOS / OS X. It combines docker, docker-compose, docker-machine and docker-machine-nfs.

Requirements

  • Docker
  • Docker Compose
  • Docker Machine
  • Docker Machine NFS

Installation

Homebrew

brew install sudoash/tap/zeus

Standalone

Download the zeus bash script and put in your $PATH.

Getting started

Before you can use Zeus, you need to create a Zeusfile. The easiest way to create one is by using zeus init. You should end up with something like this:

# Automatically generated by zeus
ZEUS_NAME=local
ZEUS_DOMAIN=local.dev

# The default shell to run when SSH'ing into the container
ZEUS_SHELL=bash

# The default container to SSH into when running zeus ssh with no container argument
#ZEUS_DEFAULT_SSH_CONTAINER=

Usage

zeus - the utility wrapper for docker, docker-compose, docker-machine and docker-machine-nfs
zeus version 1.2.0

Usage: /usr/local/bin/zeus <command>

Commands:
  init                       Initialises Zeus and creates a Zeusfile
  create                     Creates the Docker machine for the first time
  up                         Starts the Docker containers
  down                       Removes the Docker containers
  reload                     Recreates the Docker containers
  stop                       Stops the Docker machine
  start                      Starts the Docker machine
  restart                    Restarts the Docker machine
  pull                       Fetch latest images for the Docker containers
  list                       Lists Docker containers
  ssh [container]            Connect via SSH to the specified container
  info                       Displays info for your Docker machine
  destroy                    Removes the Docker machine
  fix                        Attempts to fix any SSL or NFS issues
  run <container> <command>  Runs a command from within a new container
  exec <container> <command> Runs a command from within a running container
  logs <container>           Follows logs from a running container
  top                        Displays CPU, memory, network and disk IO for running containers
  scripts                    Runs scripts in the zeus.d directory on the virtual machine

Todos

  • Multiple docker-machine drivers
  • Linux support
  • Autocomplete commands

Credits

Thanks to the guys behind these amazing Docker tools!

License

MIT License