7.List of 20 docker commands and its use cases with example?
Docker –version gives the version of docker that’s being used Docker pull to pull an image from the registry Docker run <image> to create a container Docker ps list of running containers Docker ps –a shows all the running and exited containers Docker stop stop a running container gracefully Docker kill stops a running container abruptly Docker commit creates a new image of an edited container Docker push used to push an image
Read more