Docker

Create Your Own Docker Image

Here I am trying to show how to create a you own redis image: Create a file name Dockerfile (without any extension) and add following code Save the file and run below command inside the Dockerfile directory To test the build There is another way to create the file but Read more…

By reza, ago
Docker

Docker Common command

Run Docker Image If it does not exist locally, then at first download from docker hub to local. There are 2 ways: docker run image-name additional-command ex: docker run busybox echo Hello docker OR docker create image-name -> will return an container-id ex: docker create busybox 68f87d2a0884ea9a2d34730c5667a2f72d2d8e911851367b68142918f642cd40 docker start -a Read more…

By reza, ago