skip to Main Content

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?

2

Answers


  1. Chosen as BEST ANSWER

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

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

  2. For access to the files from the S3 bucket in LocalStack, please refer to documentation https://docs.localstack.cloud/user-guide/aws/s3/#path-style-and-virtual-hosted-style-requests.

    To use the internal endpoints, please visit https://docs.localstack.cloud/references/internal-endpoints/.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search