Skip to content

syahaya-root/Basic-Command-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Basic-Command-Docker

Don't forget in your server is mode "sudo".

# docker pull <name_image>
For download/take image from docker hub.

# docker run
For create a new container from image. After create run container use parameter "it" and "bash".
Example:
# docker run --name mycontainer -it ubuntu bash

# docker start <name_container>
For star the container.

# docker ps -a
Display all container list.

# docker stop Mycontainer
Stop docker container.

# docker rm <name_image/name_container>
Erase the container/image.

# docker kill Mycontainer
Kill the container.

# docker run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published