Skip to main content

Introduction

The instance of docker images are called containers. The containers are not persistent as soon as you destroy them you will loss data. We have to update image to persist anything related to container. For data management in docker we use Volumes.

The old way syntax of running a docker command is docker <command> (options) Docker replaced this syntax pattern with new pattern docker <command> <sub-command> (options) As list of commands is growing docker decided to execute it in better way.