Docker Commands
Basic Docker Commands
Commands:
- docker run <Image> (Create container from an image and start container). With every docker run docker will will create new copies of container from image and run it . For example, if you issue docker run 3 times then 3 identical docker containers will get created and running on top of docker.
- docker start <name|id> (start only)
- docker stop <name|id>(stop the container with the
- docker ps [-a include stopped containers] (List all the containers )
- docker rm <name|id> (removes/deletes a container)
Commands:
- docker run <Image> (Create container from an image and start container). With every docker run docker will will create new copies of container from image and run it . For example, if you issue docker run 3 times then 3 identical docker containers will get created and running on top of docker.
- docker start <name|id> (start only)
- docker stop <name|id>(stop the container with the
- docker ps [-a include stopped containers] (List all the containers )
- docker rm <name|id> (removes/deletes a container)
Comments
Post a Comment