LinuxCommandLibrary

kool

simplifies Docker-based development environments

TLDR

Start environment
$ kool start
copy
Stop environment
$ kool stop
copy
Run command in service
$ kool run [service] [command]
copy
Execute in running container
$ kool exec [service] [command]
copy
View logs
$ kool logs [service]
copy
Create new project from a preset
$ kool create [preset] [project-name]
copy
Check running container status
$ kool status
copy
Update kool to the latest version
$ kool self-update
copy

SYNOPSIS

kool command [options]

DESCRIPTION

kool simplifies Docker-based development environments. It wraps Docker Compose with developer-friendly commands and provides presets for common frameworks like Laravel, Next.js, Hugo, and Express.js.
The tool standardizes workflows across projects with a `kool.yml` configuration file.

PARAMETERS

start

Start development environment containers.
stop
Stop environment containers.
run SERVICE CMD
Run command in a service container.
exec SERVICE CMD
Execute command in a running container.
logs SERVICE
View service logs.
create PRESET NAME
Create project from a preset (e.g. laravel, nextjs, hugo).
status
Show running container status, ports, and state.
self-update
Update kool to the latest version.
preset NAME
Auto-generate config files for a framework preset.
docker IMAGE [CMD]
Helper for `docker run` with simplified options.
--verbose
Increase output verbosity.
--help
Display help information.

CAVEATS

Requires Docker. Presets for common stacks. Wrapper around Docker Compose.

HISTORY

kool was created to streamline Docker-based development workflows with simpler commands and framework presets.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard