fleetctl preview: Clarify that this is for trying Fleet (#44133)

- Add link to deploy Fleet for long-lived instances (shown in `fleetctl
preview` Description field)
- Add helpful message after preview setup completes: "Use the stop and
reset subcommands to manage the server and dependencies once started."
This commit is contained in:
Noah Talerman
2026-05-01 15:47:59 -04:00
committed by GitHub
parent 3cdf1d22b3
commit 7cd2a1a34a
2 changed files with 7 additions and 6 deletions
+6 -6
View File
@@ -97,12 +97,10 @@ func newDockerCompose() (dockerCompose, error) {
func previewCommand() *cli.Command {
return &cli.Command{
Name: "preview",
Aliases: []string{"sandbox"},
Usage: "Start a sandbox deployment of the Fleet server",
Description: `Start a sandbox deployment of the Fleet server using Docker and docker compose. Docker tools must be available in the environment.
Use the stop and reset subcommands to manage the server and dependencies once started.`,
Name: "preview",
Aliases: []string{"sandbox"},
Usage: "Start a sandbox deployment of the Fleet server",
Description: `The quickest way to try Fleet. For a long-lived instance, deploy Fleet: https://fleetdm.com/learn-more-about/deploy-fleet`,
Subcommands: []*cli.Command{
previewStopCommand(),
previewResetCommand(),
@@ -480,6 +478,8 @@ Use the stop and reset subcommands to manage the server and dependencies once st
}
fmt.Println("Preview environment complete. Enjoy using Fleet!")
fmt.Println()
fmt.Println("Use the fleetctl stop and fleetctl reset subcommands to shut down Fleet or start fresh.")
return nil
},
+1
View File
@@ -1280,6 +1280,7 @@ module.exports.routes = {
'GET /learn-more-about/certificates': '/guides/connect-end-user-to-wifi-with-certificate',
'GET /learn-more-about/enrollment-profiles': 'https://developer.apple.com/documentation/devicemanagement/profile?changes=l_11_5',
'GET /learn-more-about/psso-local-account': '/guides/setup-experience',
'GET /learn-more-about/deploy-fleet': '/docs/deploy/deploy-fleet',
// Sitemap
// =============================================================================================================