Skip to content

cmdmahesh/DockerGuide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

DockerGuide

1) Get OS image from repo

~# dockerdocker pull ubuntu

2) Create container from image

~# docker run -itd --name {container-name} {image-name}

3) Start docker container(if not running)

~# docker start {container-name}

4) Connect to the terminal of container

~# docker attach {container-name}

5) View available images

~# docker images

6) View available containers

~# docker container ls

7) View running containers

~# docker ps

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published