5. Docker (in Hindi) : create a container in background, stop,start,detach container,

preview_player
Показать описание
how to create a container
send that a container to background
detach a running container
start a stop container

#dockerVsVM #container #containerization #dockerInHindi #DockerTutorials #docker

docker playlist:

ansible playlist:

facebook:
Рекомендации по теме
Комментарии
Автор

bhai kitna acha video bnaya hai ..we want more

deepakojha
Автор

Reason to learn from professional is that leaning become so interesting, precise and real. This type of learning gives you lot of food for thoughts to explore even more. Fantastic ! Thank You !

shwetagairos
Автор

Videos are awesome boss. Thank you very much. Great work pal.

prashantkamble
Автор

How to start the same ubuntu container once it gets stopped?? It is not getting started with -it mode.

Command I am using:
docker container start <container_id>
I can see the container running with ps command but not in interactive mode.

avinash-tripathy
Автор

One ques why nginix server didn't exited as ubuntu one exited while running docker container run <image-name> .
BTW your series is great.

shreeshgupta
Автор

Great tutorial so far. Can you please provide the complete set of commands shown in your tutorial? Do you have any github/code repository?

PuneetSinghania
Автор

Hello Gaurav..
These videos are awesome.I want to do more practice in dockerfile and in composefile.Could u please sugges me any links for practice

priyankamahatme
Автор

when i iam doning ctl pq or ctl-p, ctl-q is pesting data on terminal cant exit
what i am doing wrong?? plz help

AshokNikam-fsns
Автор

Very Helpful Video. I want to clear some doubts. I need to install a Docker and in that docker want to create a container and in that container install ERPNext
is my flow is correct Docker >> Container >> ERPNext or what ??? Can u please help me in this.

dwarkanathbari
Автор

INSTEAD OF PRESSING CTRL+P+Q FOR MAKING THE CONTAINER RUNNING IN BACKGROUND WHEN WE ARE ALREADY IN THE CONTAINER SHELL.
IS THERE ANY COMMAND ??

mukulpatel
Автор

Bro remove -d ..keep only -it for foreground

abhishekneal
Автор

Hi Gaurav bro, Could you please send your tutorials through any document format?

rakeshdeb
Автор

how can I login to detached container?

ZakirHussain
Автор

what is difference between container start and run ?

yogeshvaidya
Автор

Hi Gourav, i really liked your tutorial. I am struck with a command. Can you please help me, what mistake i am doing...I am using git bash for running docker. I don't have locally installed ubuntu.

$ docker container run -it ubuntu /bin/bash
C:\Program Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"C:/Program Files/Git/usr/bin/bash\": stat C:/Program Files/Git/usr/bin/bash: no such file or directory": unknown.

PT-Tl
Автор

i pressed now how to go back to background running container's shell ?

bravestone
Автор

What does this “command” field signify? I don’t understand what it is for.

samiles
Автор

Why container is not stop through docker container stop container_name ???
It give error response from daemon: cannot stop container: permission denied
Please reply as soon as possible

priyankavashistha
Автор

But isme aap do jagah command likh rhe h upper bhi niche bhi please tell

anurajsinha
Автор

Hello @Gaurav,

I am facing a issue at video time of 3:22 / 10:13 for command "docker container run -d -it ubuntu /bin/bash".

issue : "docker container run -d -it ubuntu /bin/bash" this command every time create a new container . I was expecting it needs to create only one instance of container and that instance of container we can use later on start/stop or run background for the next time.


Issue Explanation:

when i run below command 2 times

CMD/Terminal: i hit below command two 2 times
docker container run -d -it ubuntu /bin/bash


and when i see how many create a container . it show it create two container where i was expect only one container should be create that can use for next time.

CMD/Termina:
docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
700077b4378d ubuntu "/bin/bash" 5 minutes ago Up 5 minutes crazy_kirch
61a1be907bec ubuntu "/bin/bash" 8 minutes ago Up 8 minutes loving_galois

@Gaurav: could you please tell me what command to use create only one container that same container instance we can use for next time to run on background ?

jitujahagirdar