Alpin Cleopatra
Alpin Cleopatra

Reputation: 419

When run LocalStack Desktop with Rancher Desktop, why got docker socket connect error?

The Rancher Desktop is running and I have started LocalStack:

localstack start

Even, the API is running:

aws s3 mb s3://my-first-bucket --endpoint-url=http://localhost:4566

But when access from browser:

http://localhost:4566

There is a blank page.

When launch LocalStack Desktop, it shows could not connect to docker socket:

enter image description here

There isn't a file in local:

/var/run/docker.sock

What's it? How to create it? Why it's necessary in this case?

Upvotes: 1

Views: 1436

Answers (1)

Alpin Cleopatra
Alpin Cleopatra

Reputation: 419

I have to link the .rd/docker.sock there.

sudo ln -s ~$USER/.rd/docker.sock /var/run/docker.sock

Upvotes: 3

Related Questions