Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jd557/ahab
A simple docker/boot2docker/podman helper script
https://github.com/jd557/ahab
docker shell
Last synced: 22 days ago
JSON representation
A simple docker/boot2docker/podman helper script
- Host: GitHub
- URL: https://github.com/jd557/ahab
- Owner: JD557
- Created: 2014-11-04T21:44:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-01-30T19:30:45.000Z (almost 3 years ago)
- Last Synced: 2024-10-16T21:36:56.930Z (about 1 month ago)
- Topics: docker, shell
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ahab
====A simple docker/boot2docker/docker-machine/podman helper script, to help with tedious docker tasks.
Named after [Captain Ahab](https://en.wikipedia.org/wiki/Captain_Ahab_(Moby-Dick)).Commands
--------* `sail`:
Start/Restart boot2docker/docker-machine/podman machine. This command needs to be followed by the machine name if you are using docker-machine.
* `trust `
Trust an insecure registry by adding a `EXTRA_ARGS="--insecure-registry "` line to the boot2docker profile in the boot2docker image.
This command needs to be followed by the machine name if you are using docker-machine
(you probably want to use the `--engine-insecure-registry` option when creating the machine, though).
* `follow `:
Search for container by image name and follow its logs, like `docker logs -f `.
If the container dies, follow searches for the container again. Hit CTRL-C to stop.
(eg. `./ahab.sh follow elasticsearch -t`). It blocks until there is at least one container running that image.
* `execute `: Search for an image and launch a container
(eg. `./ahab.sh execute elastic -p 9200:9200`).
* `board `: Start a shell inside a container
(e.g. `./ahab.sh board elasticsearch`).
* `kill `: Stop every running container (with `docker stop`) and remove them (with `docker rm`).
* `dispose `: Remove unused docker images (marked as ``) with `docker rmi`.