Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker to sudoers

# 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
Comment

docker without sudo

# 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
Comment

PREVIOUS NEXT
Code Example
Shell :: how to stop oneko 
Shell :: The file will have its original line endings in your working directory 
Shell :: clear swap memory linux 
Shell :: adonis install 
Shell :: naming an stash 
Shell :: choco upgrade all 
Shell :: ssh force use password 
Shell :: clone submodules after clone 
Shell :: powershell get current user 
Shell :: install plank on ubuntu 
Shell :: git fetch tags force 
Shell :: upgrade version of node in windows 
Shell :: remove systemd service 
Shell :: update chrome in kali linux through terminal 
Shell :: import org.apache.cordova.Whitelist; 
Shell :: install sdl2 linux 
Shell :: install maven homebrew 
Shell :: sql like bracket 
Shell :: list all ppa repository ubuntu 
Shell :: alacritty ubuntu install 
Shell :: number of files in subdirectories linux 
Shell :: windows powershell symlink 
Shell :: if variable has substring in bash 
Shell :: uninstall vue from my system 
Shell :: vim tab 2 spaces 
Shell :: grep return n characters before or after match 
Shell :: mac find large folders 
Shell :: factorial of a number bash 
Shell :: km player in ubuntu 20 
Shell :: change zsh to bash 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =