Docker Cheatsheet ( Docker Commonds )
Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. By taking advantage of Docker’s methodologies for shipping, testing, and deploying code quickly, you can significantly reduce the delay between writing code and running it in production. In this post, I will mention docker commands which we need or most of the use-cases. Lifecycle Commands Starting and Stopping Containers Docker Image Commands Docker Container And Image Information Network Commands Lifecycle Commands Create a container (without starting it): docker create [IMAGE] Rename an existing container docker rename [CONTAINER_NAME] [NEW_CONTAINER_NAME] Run a command in a new container docker run [IMAGE] [COMMAND] Remove container after it exits docker run --rm [IMAGE] Start a container and keep it r...