Posts

Showing posts from March, 2020

Docker Command Cheatsheet

Image
Today , I am going to share with you all, some of the commonly used Docker commands.  Docker Cheatsheet: $ docker version                               to know the current docker version $ docker version — format ‘{{.Server.Version}}’ . to get the server version Docker Container Lifecycle: $ docker create     creates a container but does not start it $ docker rename     allows the container to be renamed $ docker run           creates and starts a container in one operation $ docker rm             deletes a container $ docker rm -v    delete container and also remove the volumes associated with the container Starting & Stopping a Docker container $ docker starts      starts a container so it is running $ docker stop         ...