Linux command
lando 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Initialize project
lando init
Start environment
lando start
Stop environment
lando stop
Rebuild environment
lando rebuild
Run command in container
lando [npm|composer|php] [command]
SSH into container
lando ssh
View logs
lando logs
说明
Lando provides Docker-based development environments. It creates consistent local development setups. The tool supports many frameworks with recipes. It handles networking, services, and tooling automatically.
参数
- init
- Initialize Lando project.
- start
- Start containers.
- stop
- Stop containers.
- rebuild
- Rebuild containers.
- ssh _SERVICE_
- SSH into service.
- logs _SERVICE_
- View logs.
- destroy
- Remove containers.
- --help
- Display help information.
FAQ
What is the lando command used for?
Lando provides Docker-based development environments. It creates consistent local development setups. The tool supports many frameworks with recipes. It handles networking, services, and tooling automatically.
How do I run a basic lando example?
Run `lando init` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does init do in lando?
Initialize Lando project.