filmov
tv
Docker_basics:3 Docker exec and docker run explained in detail , execute commands without login

Показать описание
Execute commands without login to the running container with Docker exec
***************************************************************************
How to run the commands or script without login into the running container
*** ********************************************************************
docker exec -it "container_id or container_name" "commands or scripts". ****************************************************************************
in this session
how to pull images and running the images
==================================
docker pull *anyimage*
how to start and stop the containers
==========================
docker stop "container id or container name"
how to exit from running container without stopping
==========================================
control p q is the command exit from running container
***************************************************************************
How to run the commands or script without login into the running container
*** ********************************************************************
docker exec -it "container_id or container_name" "commands or scripts". ****************************************************************************
in this session
how to pull images and running the images
==================================
docker pull *anyimage*
how to start and stop the containers
==========================
docker stop "container id or container name"
how to exit from running container without stopping
==========================================
control p q is the command exit from running container