nghia
12/07/2023, 3:19 AM# Install the Fleet command-line tool
sudo npm install -g fleetctl
# Run a local demo of the Fleet server
sudo fleetctl preview
But encountered the following error
$ sudo fleetctl preview [10:14:01]
Password:
Downloading dependencies from production into /Users/admin/.fleet/preview...
Pulling Docker dependencies...
time="2023-12-07T10:14:21+07:00" level=warning msg="The \"FLEET_LICENSE_KEY\" variable is not set. Defaulting to a blank string."
time="2023-12-07T10:14:21+07:00" level=warning msg="The \"FLEET_LICENSE_KEY\" variable is not set. Defaulting to a blank string."
fleet01 Skipped - Image is already being pulled by fleet02
redis01 Pulling
mysql01 Pulling
fleet02 Pulling
2023/12/07 10:14:31 must use ASL logging (which requires CGO) if running as root
2023/12/07 10:14:31 must use ASL logging (which requires CGO) if running as root
2023/12/07 10:14:31 must use ASL logging (which requires CGO) if running as root
error getting credentials - err: exit status 1, out: ``
Error: Failed to run `docker-compose`
FAIL
Has anyone else experienced this issue?nghia
12/07/2023, 3:21 AMDocker version 24.0.7, build afdd53b
docker-compose -v
Docker Compose version v2.23.3-desktop.2sharvil
12/07/2023, 6:09 AMSimon van Dyk
12/12/2023, 5:50 PMsudo
it worked for me 👍🏻