Posts

Showing posts with the label Basic Commands

Basic Commands of Docker

Image
  1. docker –version --> to check docker version   2. docker version --> to check client and host version    3. docker container run httpd --> create container foreground   4. docker container run –d httpd --> create container byground  5. docker container ls --> to show only running container    6. docker container la –a --> to show all container   7. docker ps --> to show container   8. docker container stop container name --> to stop container  9. docker container start container name --> to statr container    10. docker container rm container name --> to delete stop container    11. docker container rm –f container name --> to delete running container   12. docker container run –d –it ubuntu --> to create OS image  13. docker image ls --> to show images   14. docker container run –d –name team httpd --> naming the...
Image
                                                   LINUX BASIC COMMANDS                                           1. whoami - Display the current logged-in user.                    whoami - Shows username.                    Example: whoami  2. pwd - Print the current directory path.                pwd - Outputs the current directory.  Example: pwd  3. . ls - Lists directory contents.             ls - Basic list.             ls -l - List with details.             Example: ls -la Directory  4. . cd - Chan...