← 返回命令列表

Linux command

caprover 命令

文本

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

常用示例

Login to CapRover machine

caprover login

Deploy application

caprover deploy

Deploy with specific options

caprover deploy -n [machine-name] -a [app-name] -b [branch]

Deploy Docker image

caprover deploy -i [image-name]

Deploy from tar file

caprover deploy -t [app.tar]

Set up a new CapRover server

caprover serversetup

List logged-in machines

caprover list

Logout from machine

caprover logout

说明

caprover is the CLI for CapRover, a modern automated app deployment and web server manager. Use it to perform initial server setup and deploy applications via captain-definition files, Dockerfiles, tar files, or Docker images.

参数

-n, --caproverName _name_
Target CapRover machine name
-a, --caproverApp _app_
Application name to deploy
-b, --branch _branch_
Git branch to deploy
-t, --tarFile _file_
Path to tar file for deployment
-i, --imageName _image_
Docker image to deploy
-d, --default
Use previously entered values
-c, --configFile _file_
Deployment configuration file path
-u, --caproverUrl _url_
CapRover machine URL
-p, --caproverPassword _password_
CapRover password
--appToken _token_
App-level authentication token
-V, --version
Output version number
-h, --help
Display help information

FAQ

What is the caprover command used for?

caprover is the CLI for CapRover, a modern automated app deployment and web server manager. Use it to perform initial server setup and deploy applications via captain-definition files, Dockerfiles, tar files, or Docker images.

How do I run a basic caprover example?

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

What does -n, --caproverName _name_ do in caprover?

Target CapRover machine name