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

No sudo with Docker

# No sudo with docker
> sudo groupadd docker
> sudo gpasswd -a username docker
> sudo service docker restart 
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 :: conda pyinstaller 
Shell :: show mac address in ubuntu 
Shell :: how to free swap memory in linux 
Shell :: ubuntu command to list largest files 
Shell :: how to restart heroku server 
Shell :: pip reinstall 
Shell :: git credential cache 
Shell :: check ports in use windows 8080 
Shell :: linux which shell am i running 
Shell :: python2 pip install kali 
Shell :: How to rename a commit ? 
Shell :: prevent duplicate history line on bash history 
Shell :: install Qt5 ubuntu 20.04 
Shell :: how to exit git branch 
Shell :: certbot remove certificate for domain 
Shell :: how to kill tasks using grep 
Shell :: elasticsearch start 
Shell :: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? 
Shell :: conda install tensorflow windows 
Shell :: install alacritty ubuntu 20.04 
Shell :: how to install golang on manjaro 
Shell :: git command to get the repo url 
Shell :: see total space available in shell 
Shell :: progrez.cloud api 
Shell :: set git editor 
Shell :: bash return n characters after match 
Shell :: git find login 
Shell :: ubuntu server scan virus 
Shell :: install laravel ui in laravel 8 
Shell :: linux install java jre command line 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =