:wave: Hi everyone! I tried to install following t...
# general
n
👋 Hi everyone! I tried to install following the Get started
Copy code
# 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
Copy code
$ 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?
my docker ver
Copy code
Docker version 24.0.7, build afdd53b
docker-compose -v Docker Compose version v2.23.3-desktop.2
s
try #C01DXJL16D8
s
@nghia I ran into this, if you run the commands without
sudo
it worked for me 👍🏻