docker to sudoers
Shell
# Creates docker group
sudo groupadd docker
# Add your user to the docker group
sudo usermod -aG docker $USER
# Log out and log back in so that your group membership is re-evaluated
# GNOME example
gnome-session-quit# my case solution
sudo setfacl -m user:$USER:rw /var/run/docker.sock
#other solution
sudo usermod -aG docker $USER
#an other solution
sudo groupadd docker
sudo gpasswd -a $USER docker
docker run hello-world
Also in Shell:
- Title
- driver hosts file
- Category
- Shell
- Title
- tfswitch install
- Category
- Shell
- Title
- read text file command prompt
- Category
- Shell
- Title
- create a zip file in linux
- Category
- Shell
- Title
- youtube api python
- Category
- Shell
- Title
- install git
- Category
- Shell
- Title
- ubuntu ram type
- Category
- Shell
- Title
- hide hidden files mac
- Category
- Shell
- Title
- setup mysql ubuntu
- Category
- Shell
- Title
- checking for existing ssh keys
- Category
- Shell
- Title
- ubuntu dns server
- Category
- Shell
- Title
- powershell command line variables
- Category
- Shell
- Title
- git rebase
- Category
- Shell
- Title
- How do I show the changes which have been staged
- Category
- Shell
- Title
- append a string in all files name linux
- Category
- Shell
- Title
- git unstage file for commit
- Category
- Shell
- Title
- remove git tracking
- Category
- Shell
- Title
- how to add image in github readme
- Category
- Shell
- Title
- git list remote branches
- Category
- Shell
- Title
- php artisan doctrine migrations add all
- Category
- Shell
- Title
- how to undo a git stash
- Category
- Shell
- Title
- sorting output bash
- Category
- Shell
- Title
- intel pinning threads
- Category
- Shell
- Title
- ubuntu install sfml
- Category
- Shell
- Title
- create a docker file
- Category
- Shell
- Title
- connection failed blueman.bluez.errors.dbusfailederror protocol not available
- Category
- Shell
- Title
- rails no migration with version number
- Category
- Shell
- Title
- how to run a train animation in linux terminal
- Category
- Shell
- Title
- list number of files in each folder linux
- Category
- Shell
- Title
- bazel instal
- Category
- Shell
- Title
- mysqldump
- Category
- Shell
- Title
- remove yum package
- Category
- Shell
- Title
- delete a daemonset deployment
- Category
- Shell
- Title
- delete local branch git
- Category
- Shell
- Title
- random in mac terminal
- Category
- Shell
- Title
- randomly choose n rows from a file linux
- Category
- Shell
- Title
- linux download ftp get all files and folders
- Category
- Shell
- Title
- Change Git commit user name and author
- Category
- Shell
- Title
- how to run a create-react-app server
- Category
- Shell
- Title
- ImportError: No module named alsaaudio
- Category
- Shell
- Title
- linux add user to group
- Category
- Shell
- Title
- bash send to dev null
- Category
- Shell
- Title
- search by message git
- Category
- Shell
- Title
- turn of raspberry
- Category
- Shell
- Title
- linux merge two pdfs
- Category
- Shell
- Title
- git discard unstaged files
- Category
- Shell
- Title
- linux vim set tab to 4 spaces
- Category
- Shell
- Title
- list all the files in a directory without the directory in linux
- Category
- Shell
- Title
- mount: cdrom: failed to setup loop device for
- Category
- Shell
- Title
- How to find your ip on debian linux wsl
- Category
- Shell
- Title
- run tar.xz ubuntu
- Category
- Shell
- Title
- join linux to ad domain
- Category
- Shell
- Title
- git push heroku master Permission denied (publickey). fatal: Could not read from remote repository.
- Category
- Shell
- Title
- how to uninstall node.JS
- Category
- Shell
- Title
- how to install dataloader
- Category
- Shell
- Title
- Creating an environment from an environment.yml file
- Category
- Shell
- Title
- hasura squashmigrations
- Category
- Shell
- Title
- linux telnet port
- Category
- Shell
- Title
- git how to see changes made by a commit
- Category
- Shell
- Title
- how to install yum uitls
- Category
- Shell
- Title
- install glesv2 and egl library
- Category
- Shell
- Title
- nvcc not working after installing cuda
- Category
- Shell
- Title
- grep for all .py files containing a word
- Category
- Shell
- Title
- how to install openai gym in ubuntu
- Category
- Shell
- Title
- how to revert back to previous commit in git permanently
- Category
- Shell
- Title
- Warning in install.packages : installation of package ‘tidyverse’ had non-zero exit status
- Category
- Shell
- Title
- make a batch file that accepts pipe input
- Category
- Shell
- Title
- install redux-thunk
- Category
- Shell
- Title
- install google client api individually
- Category
- Shell
- Title
- git bash upstream branch change
- Category
- Shell
- Title
- resolv conf linux is being overwritten centos 7
- Category
- Shell
- Title
- copy contents of multiple files to one file powershell
- Category
- Shell
- Title
- upgrade npm
- Category
- Shell
- Title
- install chromedriver linux
- Category
- Shell
- Title
- install imutils
- Category
- Shell
- Title
- how to move file in directory in linux
- Category
- Shell
- Title
- how to install tar.gz in ubuntu
- Category
- Shell
- Title
- asdf node fingerprint
- Category
- Shell
- Title
- resart network
- Category
- Shell
- Title
- list all ssh connections ubuntu
- Category
- Shell
- Title
- how to get git username and password
- Category
- Shell
- Title
- fullstack course 4 github
- Category
- Shell
- Title
- macos install yarn
- Category
- Shell
- Title
- docker current version
- Category
- Shell
- Title
- show rights inside folder debian
- Category
- Shell
- Title
- mkdir multiple directories
- Category
- Shell
- Title
- how to create a shortcut ubuntu
- Category
- Shell
- Title
- add known host github
- Category
- Shell
- Title
- terminal delete directory not empty
- Category
- Shell
- Title
- canging branch in git
- Category
- Shell
- Title
- connect to git repo with ssh-rsa
- Category
- Shell
- Title
- bash delete file
- Category
- Shell
- Title
- pod install ruby: bad interpreter: No such file or directory
- Category
- Shell
- Title
- install seaborn
- Category
- Shell
- Title
- heic open linux
- Category
- Shell
- Title
- connect to amazon aws linux
- Category
- Shell
- Title
- how to search a particular gist in github
- Category
- Shell
- Title
- ubuntu install tree
- Category
- Shell
- Title
- webpack install
- Category
- Shell
- Title
- ufw allow postgresql
- Category
- Shell