Mount docker socket in installation example
Motivation
Our getting started example does not mount the Docker socket. If the user does this, they get lots of log messages regarding failed connections to the Docker socket (inside the container). This is off-putting for a new user.
Changes
- Show mounting the Docker socket into the LocalStack container for the Docker installation section
Deploy PR Preview failed.
@alexrashed I'm good with this change. Perhaps, we need a few lines to share why we exactly need to mount the Docker socket, and what are the alternatives if we don't wish to do that.
Thanks for jumping on this! LocalStack really relies on the Docker Socket right now and this should be part of the examples. We need to make sure that these samples work for basically all our users. Would this command work exactly the same on Windows, Linux, and MacOS? I would also like to get @HarshCasper's opinion on this :)
Works for each OS.
We do mention this in the docs, but only as a note under the docker compose.
There is also a mention under the docker cli command.
We should potentially change how we provide this type of information in the docs.
I have tried to unify and clean up the wording of the documentation here. Please take another look to make sure I've captured your thoughts.
One outsanding question: our compose example includes - PERSISTENCE=${PERSISTENCE:}, should we add something similar to the Docker CLI example?