Docker daemon error when trying to use on 3.09 or 3.11
When installing Docker on Alpine I receive the "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the dock?" error when trying to use it to init a Swarm if I am using Alpine 3.09 or 3.11 without first either logging out/in or restarting. On 3.10 their just needs to be a wait to allow the daemon time to start up (I am using a script to install and secure Alpine, install Docker and init a Swarm manager node). A simple sleep 10 in the script works for 3.10 but seems strange that it does not also work for 3.09 or 3.11.
Obviously not critical but thought I should raise the difference in behavior.