Followers

temppost

 109  docker volumes --help   110  docker volume --help   111  docker volume prune   112  docker volume ls   113  ls /var/lib/docker/volumes...

 109  docker volumes --help

  110  docker volume --help

  111  docker volume prune

  112  docker volume ls

  113  ls /var/lib/docker/volumes/

  114  docker volume create demo-vol

  115  ls /var/lib/docker/volumes/

  116  ls /var/lib/docker/volumes/demo-vol/

  117  ls /var/lib/docker/volumes/demo-vol/_data/

  118  docker container run -it --name c1 --mount source=demo-vol,destination=/app -d ubuntu

  119  docker images

  120  docker ps -a

  121  docker exec -it c1 bash

  122  ls /var/lib/docker/volumes/

  123  ls /var/lib/docker/volumes/demo-vol/_data/

  124  docker rm -f c1

  125  docker ps -a

  126  ls /var/lib/docker/volumes/demo-vol/_data/

  127  docker container run -it --name c2 --mount source=demo-vol,destination=/demo -d centos

  128  docker ps -a

  129  docker exec -it c2 bash

  130  docker container inspect c2

  131  docker volume ls

  132  docker volume rm demo-vol~

  133  docker volume rm demo-vol

  134  docker rm -f c2

  135  docker volume rm demo-vol

  136  ls /var/lib/docker/volumes/

  137  docker ps -a

  138  mkdir mydir

  139  docker container run -it --name c1 -v /home/ubuntu/mydir:/demo -d ubuntu

  140  ls mydir/

  141  docker exec -it c1 bash

  142  ls mydir/

  143  touch mydir/5

  144  ls

  145  ls mydir/

  146  docker exec -it c1 bash

  147  docker inspect c1

  148  ip a

  149  docker rm -f c1

  150  docker ps

  151  ip a

  152  docker container run -it --name c1 -d ubuntu

  153  ip a

  154  docker inspect c1

  155  docker network ls

  156  docker container run -it -d centos

  157  docker ps

  158  docker inspect 154f21716aa9

  159  docker exec -it  154f21716aa9 bash

  160  docker network ls

  161  docker rm -f $(docker ps -a -q)

  162  docker network --help

  163  docker network create -d bridge br1

  164  docker network ls

  165  docker container run -it --name c1 --network br1 -d ubuntu

  166  ip a

  167  docker inspect c1

  168  docker container run -it --name c2 --network br1 -d centos

  169  docker inspect c2

  170  docker rm -f c1 c2

  171  docker pull ramansharma95/webapp

  172  docker pull ramansharma95/mysql

  173  docker images

  174  docker container run -it --name web -p 80:80 -d ramansharma95/webapp

  175  docker container run -it --name db  -d ramansharma95/mysql

  176  docker exec -it web bash

  177  docker exec -it db bash

  178  docker rm -f web

  179  docker rm -f db

  180  docker container run -it --name web --network br1 -p 80:80 -d ramansharma95/webapp

  181  docker container run -it --name db --network br1  -d ramansharma95/mysql

  182  docker exec -it db bash

 184  docker rm -f web db

  185  docker network rm br1

  186  docker network ls

  187  docker container run -it --name h1 --network host -d nginx

  188  docker inspect h1

  189  docker container run -it --name h2 --network host -d nginx

  190  docker ps -a

  191  docker rm -f h1 h2

  192  docker container run -it -d nginx

  193  curl localhost

  194  docker ps

  195  docker inspect e1df

  196  curl localhost 172.17.0.2

  197  ping 172.17.0.2

  198  docker container run -it --name n1 --network none -d centos

  199  docker inspect n

  200  docker inspect n1

  201  docker exec -it n1 bash

  202  docker network disconnect none n1

  203  docker network connect bridge n1

  204  docker inspect n1



COMMENTS

Name

Ansible,6,AWS,1,Azure DevOps,1,Containerization with docker,2,DevOps,2,Docker Quiz,1,Docker Swarm,1,DockerCompose,1,ELK,2,git,2,git quiz,1,Git Worksheet,1,ITIL,1,ITSM,1,Jira,3,Kubernetes,1,Kubernetes Quiz,5,SAST DAST Security Testing,1,SDLC Quiz,5,SonarQube,3,Splunk,2,vagrant kubernetes,1,Windows,1,YAML Basics,1,
ltr
item
DevOpsWorld: temppost
temppost
DevOpsWorld
https://www.devopsworld.co.in/2022/03/temppost.html
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/2022/03/temppost.html
true
5997357714110665304
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content