Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker alpine create user and group

# To create a non root group and user inside your Alpine based Dockerfile

# -g is the GID
addgroup -g 1000 groupname

# -u is the UID
# -D permits to create an user without password
adduser -u 1000 -G groupname -h /home/username -D username
Comment

PREVIOUS NEXT
Code Example
Shell :: getting started with vite 
Shell :: specify ssh key to use 
Shell :: sdkman install 
Shell :: ettercap sniffing 
Shell :: Failed to execute child process “python” (No such file or directory) 
Shell :: linux copy all files with extension 
Shell :: error: insufficient permission for adding an object to repository database .git/objects 
Shell :: install crossover in linux 
Shell :: ohow to kill pm2 servers 
Shell :: how to install .deb in terminal 
Shell :: create gitignore files windows 
Shell :: array and for loop bash 
Shell :: use odbc from powershell 
Shell :: how do i update ubuntu 
Shell :: gitignore idea 
Shell :: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/singh/Library/LaunchAgents/homebrew.mxcl.httpd.plist` exited with 5. singh@Singhs-Air ~ % sudo apachectl start 
Shell :: Port 3000 is already in use, but when I try to kill nothing is found 
Shell :: revert vs reset vs restore 
Shell :: docker delete all containers 
Shell :: android check if package is installed 
Shell :: ubuntu open file from terminal 
Shell :: bash see active ports 
Shell :: see what user a process is running as 
Shell :: git change remote 
Shell :: bash how to pass shell variables to awk 
Shell :: foreach powershell 
Shell :: sonarqube docker setup 
Shell :: expo upgrade reset 
Shell :: create a zip file in linux 
Shell :: windows find node path 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =