Skip to content

rootmarkjoy/Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker

Docker Documentation URL: https://docs.docker.com/

Docker_Commands

  • Obtain the container ID by running the following command: docker ps

  • Access the Docker container by running the following command: docker exec -it <container_id> /bin/bash

e.g

Container login command:- docker exec -it 6466 /bin/bash

  • container_id Is the ID of the container obtained with the command explained in the first step, for example 6466b9201126.

  • To list all the containers you have made: sudo docker ps -a

  • And select the container you want to work with (mine is 0f19152b7a14): sudo docker start -ai 0f19152b7a14

docker_cheatsheet.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published