Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to run 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

how to run docker not with sudo

# what worked for my case
sudo setfacl -m user:$USER:rw /var/run/docker.sock
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install lvm2 on ubuntu 
Shell :: change ubuntu username 
Shell :: encrypt zip password 
Shell :: bash if "-n" option 
Shell :: how to git clone from a specific branch git 
Shell :: install elasticsearch 
Shell :: pip 21.0.1 install windows 
Shell :: lp list printers 
Shell :: ssh copy folder from local to remote 
Shell :: how to activate virtual environment in ubuntu 20.04 
Shell :: run docker compose 
Shell :: add a home directory for existing user 
Shell :: env variables list ubuntu 
Shell :: firewall-cmd add service 
Shell :: aws cli s3 list buckets 
Shell :: custom notification with powershell 
Shell :: how to add proxy to your command line linux 
Shell :: adding in ssh agent 
Shell :: git diff files of different branches 
Shell :: copy folder from ssh to local 
Shell :: subl command not found mac 
Shell :: check file permissions linux 
Shell :: ssh custom port fla 
Shell :: how to stop a program from running linux 
Shell :: command to find a file or directory in the current directory 
Shell :: run ionic live 
Shell :: tail linux 
Shell :: github create repo 
Shell :: git add all files command 
Shell :: how to install nvm in ubuntu 18.04 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =