What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-02-16 18:15:02
docker -it exec bash
docker exec -i -t 0f4fe0b1f413 bash 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-02-02 19:50:08
docker exc into mongo shell
docker exec -it container_name mongo 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