← 返回命令列表

Linux command

takeout 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Enable service

takeout enable [mysql]

Enable service

takeout enable [mysql] --default

Enable multiple

takeout enable [mysql] [redis] [meilisearch]

Disable service

takeout disable [mysql]

List services

takeout list

Start all enabled

takeout start

Stop all

takeout stop

Show status

takeout status

说明

takeout is a CLI tool that simplifies managing development dependencies using Docker containers. Instead of installing databases and services directly on your machine, Takeout runs them as isolated Docker containers that can be enabled or disabled with simple commands. Supported services include MySQL, PostgreSQL, MariaDB, Redis, Memcached, Elasticsearch, MeiliSearch, MinIO, and many more. Each service runs in its own container with sensible defaults, and Takeout handles port mapping, volume persistence, and container lifecycle management automatically. Created by Tighten for the Laravel ecosystem, Takeout works well for any PHP development workflow and beyond. The enable command pulls and starts a service container with an interactive prompt for version and configuration, while disable stops and removes it. The start and stop commands control all enabled services at once.

参数

enable _SERVICE..._
Enable and start a service container with interactive prompts.
disable _SERVICE_
Stop and remove a service container.
--default
Accept default parameters when enabling (skip prompts).
start
Start services.
stop
Stop services.
list
List available.
status
Show status.

FAQ

What is the takeout command used for?

takeout is a CLI tool that simplifies managing development dependencies using Docker containers. Instead of installing databases and services directly on your machine, Takeout runs them as isolated Docker containers that can be enabled or disabled with simple commands. Supported services include MySQL, PostgreSQL, MariaDB, Redis, Memcached, Elasticsearch, MeiliSearch, MinIO, and many more. Each service runs in its own container with sensible defaults, and Takeout handles port mapping, volume persistence, and container lifecycle management automatically. Created by Tighten for the Laravel ecosystem, Takeout works well for any PHP development workflow and beyond. The enable command pulls and starts a service container with an interactive prompt for version and configuration, while disable stops and removes it. The start and stop commands control all enabled services at once.

How do I run a basic takeout example?

Run `takeout enable [mysql]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does enable _SERVICE..._ do in takeout?

Enable and start a service container with interactive prompts.