How to install and run docker as general user
Install docker
$ sudo yum install docker
Add user to group dockerroot
$ sudo gpasswd -a $USER dockerroot
Change owner of Docker Socker
$ sudo chown root:dockerroot /var/run/docker.sock
Run sample
$ docker run hello-world