What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-14 19:05:02
docker
docker ps # current containers docker run # create and start the container docker create # create container dokcer exec # to run commnads in container for once docker volume # create a docker volume docker network # create a docker network docker rm # rem... 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 2022-01-26 04:55:31
docker sql server windows
# Pull image docker pull mcr.microsoft.com/mssql/server:2019-latest # Run container docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Abcd123!" ` -p 1433:1433 --name sql1 -h sql1 ` -d mcr.microsoft.com/mssql/server:2019-latest Add solution -
Other 2022-01-23 06:40:39
nginx browser caching in docker containers
# docker run -d -p 80:80 -h ntest --name ntest nginx # docker exec -it -u 0 ntest bash # ntest# nano /etc/nginx/conf.d/default.conf # then follow this source digitalocean guide . . . # Expires map map $sent_http_content_type $expires { default ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5