Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

keep the container running and not exit directly

# add this at the end of your entrypoint file
# to keep the container running and not exit directly
set -x
while $1
do
    echo "Press [CTRL+C] to stop.."
    sleep 5
    echo "My second and third argument is $2 & $3"
done
Comment

PREVIOUS NEXT
Code Example
Shell :: git remove added file 
Shell :: minikube without sudo 
Shell :: install chrome webdriver node 
Shell :: etcher download ubuntu 18.04 
Shell :: get list of directories bash 
Shell :: npm bootstrap 
Shell :: remove local images 
Shell :: apollo client install 
Shell :: stop supervisor service centos 8 
Shell :: npm install --unsafe-perm 
Shell :: ubuntu install mathpix 
Shell :: ubuntu version 
Shell :: install spotify on linux 
Shell :: powershell append file to another file 
Shell :: Stack found this candidate but arguments dont match 
Shell :: install from tar gz file unix 
Shell :: bash create folder in current directory 
Shell :: git display unrelated histories 
Shell :: unzip to directory 
Shell :: bash check if python package is installed 
Shell :: gitlab ee version check 
Shell :: upgrade seaborn version 
Shell :: ${a,}: bad substitution 
Shell :: How to install LAMP in Ubuntu 18.04? 
Shell :: docker save in windows 
Shell :: restart wsl2 windows 10 
Shell :: zsh: no matches found: with * 
Shell :: windows vpn service 
Shell :: find command 
Shell :: cmd find file dir 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =