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:
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
I have to link the
.rd/docker.sock
there.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/.