Ansible Role - Manage docker as a non root user
Docker non-root user setup based on: https://docs.docker.com/engine/installation/linux/linux-postinstall/#manage-docker-as-a-non-root-user
Assumes Docker is installed.
Variable | Required | Defaults | Comments |
---|---|---|---|
non_root_docker_users | yes | List of non-root users to be allowed to manage docker |
- bt5e.docker-ce
- hosts: servers
roles:
- { role: bt5e.docker-non-root-user, non_root_docker_users: vagrant }
MIT
Ben Tse