Basic docker commands

1. diff          

It checks for all modifications in Docker container’s file system.

2. history      

It displays history of image.

3. events     

It is helpful in retrieving real time events of server.

4. Load

It is used in loading images form tar files.

5. images 

It is useful to list out all possible images.

6. login

It is helpful to register and login from registry server of Docker.

7. Port

It is used for looking up NAT-ed to PRIVATE_PORT. NAT-ed is the public port.

8. Kill

It is helpful in killing the recently running container.

9. cp 

It is used to copy files as well as folders to host system from file system of docker container.

10. insert

It is used to insert files in docker image.

11. info

It is used to display the entire system details.

12. import

It is used in creating a new file system from tarball contents.

13. inspect 

It is used to return low-level data from docker container.

14. build

It is helpful to build Docker containers from the Docker files.

15. attach

It is used to attach things for runnable container.

16. commit

It is used to create docker images through docker container’s changes.  

17. tag

It is helpful in tagging docker images to docker repositories.

18. export

It is helpful to stream Docker container’s contents as archive (tar archive).

19. top

It is used for looking-up recently executing processes of docker containers.  

20. pull

It is used to fetch docker image or docker repository from the registry server.

21. wait

It would block the running until the Docker containers stop and then the exit code is printed.

22. version

It will display docker’s version information.  

23. restart  

It is helpful in restarting the Docker containers.

24. push

It pushes or inserts image or repository to registry server of Docker.

25. stop

It is used to stop currently running Docker container.

26. start

It is used to initiate the stopped container.

27. search

It is used in browsing or searching docker images through docker index.  

28. rm

It is used in removing one or multiple Docker containers.

29. ps

It is helpful in listing all possible Docker containers available.

30. rmi

It is helpful in removing one or multiple Docker images.

31. save

It is helpful in saving Docker images in tar file.

32. run

It is helpful in running docker commands in container.

diff      It checks for all modifications in Docker container’s file system.

history      It displays history of image.

events    It is helpful in retrieving real time events of server.

Load    It is used in loading images form tar files.

images         It is useful to list out all possible images.

 login          It is helpful to register and login from registry server of Docker.

Port    It is used for looking up NAT-ed to PRIVATE_PORT. NAT-ed is the public port.

Kill    It is helpful in killing the recently running container.

 cp             It is used to copy files as well as folders to host system from file system of docker     container.

insert      It is used to insert files in docker image.
Info    It is used to display the entire system details.
import    It is used in creating a new file system from tarball contents.

Inspect    It is used to return low-level data from docker container.

build      It is helpful to build Docker containers from the Docker files.

Attach    It is used to attach things for runnable container.

commit      It is used to create docker images through docker container’s changes.  
Tag    It is helpful in tagging docker images to docker repositories.
export        It is helpful to stream Docker container’s contents as archive (tar archive).

Top    It is used for looking-up recently executing processes of docker containers.  
pull      It is used to fetch docker image or docker repository from the registry server.

wait       It would block the running until the Docker containers stop and then the exit code is printed.

Version    It will display docker’s version information.  
restart      It is helpful in restarting the Docker containers.
Push    It pushes or inserts image or repository to registry server of Docker.

 stop     It is used to stop currently running Docker container.
start      It is used to initiate the stopped container.

Search    It is used in browsing or searching docker images through docker index.  

rm       It is used in removing one or multiple Docker containers.
ps          It is helpful in listing all possible Docker containers available.
rmi      It is helpful in removing one or multiple Docker images.

Save    It is helpful in saving Docker images in tar file.

run            It is helpful in running docker commands in container.