Skip to main content

Command Palette

Search for a command to run...

Get into a docker container

Docker-Part-3

Published
1 min read
Get into a docker container
L

I've got accomplished web development with expertise in various programming languages including PHP, Laravel, C#, and C++. My curiosity to learn more and my passion for coding drives me to constantly enhance my skills and create exceptional digital experiences.

To see all containers

docker ps --all this is used to see every container present at the moment.

bash shell is used[Recommended]

Ps_containers_Id is been used as a container to poke

To get inside the container use Docker exec -it ps_containers_id bash

To stop container

docker stop ps_container_id

docker run -it containers_image_name bash

These are the methods to get inside the docker container.


Thank you!

Get into a docker container