8000 GitHub - wyattlovesgrapes/docker-good-boy: such a good boy
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wyattlovesgrapes/docker-good-boy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-good-boy

Hey guys, I domesticated Docker! A silly little script that wraps docker compose commands, mostly useful because of docker-rollover.

good-boy

Tricks

  • docker-sit <optional-container-name> : docker compose pause
  • docker-up <optional-container-name> : docker compose up -d
  • docker-down <optional-container-name> : docker compose down
  • docker-rollover : docker-compose down && - docker-compose build --no-cache && docker-compose up -d
  • docker-good-boy && docker-gb : docker ps && echo \"woof\"

How To Train Your Dog

  1. Git clone this project and navigate to the project folder.

  2. Run chmod +x docker_good_boy.sh.

  3. If you get the ~/.zshrc not found! error, make one using touch ~/.zshrc.

  4. Then, run ./docker_good_boy.sh to add the aliases to your ~/.zshrc.

  5. Reload you /.zshrc with source ~/.zshrc.

Updating

All you should need to do is repeat the above steps, but if you run into issues try:

  1. Clearing the aliases and functions manually with nano ~/.zshrc then repeat the above steps.

Bash Zsh Docker macOS

About

such a good boy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0