Helps your development process with Docker Compose by asking nicely :)
On macOS, install it via Homebrew:
brew tap icalialabs/formulae
brew install plis
On other systems you can:
plis start [services-optional]
: Starts a docker-compose project, with the following extra functionality:
docker-compose up -d
command.docker-compose start
command.plis attach [service_name]
: It figures out the given service's container, and attaches the console to it.plis run [service_name] [command]
: It runs the given command:
docker exec -ti
command.docker-compose run --rm
command.
# Start a docker-compose project:
plis start
# Restart a service:
plis restart web
# Attach the console to a service:
plis attach web
# Run a command on an existing or new container:
plis run web rails c
# Stop a service:
plis stop web
build
command to invoke the docker-compose build command.plis.go
file.check context
command to list the files that will pass to the Docker build context.start
command with just one service should attach to the container immediately. (i.e.: plis start web
starts a rails web container and attaches to it, mimicking the behavior of running rails server
on the host)run
command to use docker-compose exec
instead of docker exec
whenever a running container is already available.plis start github.com/some_org/some_dockerized_app
clone the project and run it.upgrade
command that upgrades plis
to the newest version.prune
command to invoke docker system prune
.