What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2022-02-17 19:05:25
docker kill all containers windows
You could create a batch-file (.bat or .cmd) with these commands in it: @ECHO OFF FOR /f "tokens=*" %%i IN ('docker ps -q') DO docker stop %%i If you want to run this command directly in the console, replace %%i with %i, like: FOR /f "toke... Add solution -
-
Shell/Bash 2022-02-02 22:11:10
how to upgrade jenkins in docker
# I'll keep it as "jenkins", you can use "jenkins_home" if you wish mkdir -p $HOME/jenkins # if you're using other names, replace $HOME/jenkins with your choice # in case you want to change port, use this # -e JENKINS_OPTS="--http... Add solution -
-
Shell/Bash 2021-12-23 17:36:26
wsl System has not been booted with systemd as init system
Instead of using sudo systemctl start your_app use: sudo /etc/init.d/your_app start example: sudo /etc/init.d/docker start , as of right now we do not have systemd in WSL 2. example: sudo /etc/init.d/chrony start Add solution