返回命令列表

Linux command

kool 命令

文件

Copy it and replace filenames, paths, or keywords as needed.

命令示例

Start environment

kool start

Stop environment

kool stop

Run command in service

kool run [service] [command]

Execute in running container

kool exec [service] [command]

View logs

kool logs [service]

Create new project from a preset

kool create [preset] [project-name]

Check running container status

kool status

Update kool to the latest version

kool self-update

说明

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.

参数

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.

FAQ

What is the kool command used for?

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.

How do I run a basic kool example?

Run `kool start` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does start do in kool?

Start development environment containers.