Problem scenario
You run this command: docker run -it ubuntu bash
docker: Got permission denied while trying to connect to the Docker daemon sockes/create: dial unix /var/run/docker.sock: connect: permission denied.
You do not want to run a Docker container as a privileged user (as a recommended practice). What should you do?
Solution
Background: “To do builds in the cluster,
…
Continue reading “How Do You Run a Docker Container as a Non-root User?”