Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run docker as non root

$ sudo usermod -aG docker [non-root user]
Comment

setting docker as a non root user

##########################################
# Dockerfile to change from root to 
# non-root privilege
###########################################
# Base image is CentOS 7
FROM Centos:7
# Add a new user "john" with user id 8877
RUN useradd -u 8877 john
# Change to non-root privilege
USER john
Comment

PREVIOUS NEXT
Code Example
Shell :: how to stash specific file in git with message 
Shell :: how to generate ssh key 
Shell :: generate github access token 
Shell :: ssh key generation 
Shell :: sshd: no hostkeys available -- exiting. 
Shell :: linux alias 
Shell :: cypress install npm 
Shell :: expo init 
Shell :: install sdl2 macos 
Shell :: mocha watch mode 
Shell :: github username 
Shell :: install composer debian 
Shell :: install express globally 
Shell :: how to copy one local machine to server through ssh 
Shell :: git add file without commit 
Shell :: bash split variable by delimiter 
Shell :: what does source command do in linux 
Shell :: ubuntu uninstall ros 
Shell :: size folder command line 
Shell :: Contact the upstream for the repository and get them to fix the problem. 
Shell :: how to change git password in git bash 
Shell :: run command as root administrator mac 
Shell :: git submodule add 
Shell :: what is the ssh credentials for minikube 
Shell :: pushing code with another github account 
Shell :: how to restore a mongodb dump with a new name 
Shell :: while bash one line 
Shell :: scp file download 
Shell :: ssh login 
Shell :: a new powershell stable release is available 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =