Docker file created with the name of "Docker-file"below are the component
it is not necessary to write component in case sensitive,but we should writ in capital.
Docker Volume before going into docker volume lets clear docker file system first. The Docker File System A Docker image is a collection of read-only layers. When we launch a container from an image, Docker adds a read-write layer to the top of that stack of read-only layers. Docker calls this the "Union File System" . Any time a file is changed, Docker makes a copy of the file from the read-only layers up into the top read-write layer. This leaves the original (read-only) file unchanged. When a container is deleted, that top read-write layer is lost. This means that any changes made after the container was launched are now gone. ====================================== What is docker volume A Docker volume keep outside the container, on the host machine. From the container, the volume use like a folder which we can use to store and retrieve data. It is simply a mount point to a directory on the host. ====================================== Create docker volume Do...
Colorful Linux Terminal I have created a script to send report on daily basis,but management want some of the line colorful , As always believe "zaroorat aijad ki maa hai" so I get tips of colorful terminal, following are the point. =================================== Color code in linux. Black 0 ; 30 Dark Gray 1 ; 30 Red 0 ; 31 Light Red 1 ; 31 Green 0 ; 32 Light Green 1 ; 32 Brown / Orange 0 ; 33 Yellow 1 ; 33 Blue 0 ; 34 Light Blue 1 ; 34 Purple 0 ; 35 Light Purple 1 ; 35 Cyan 0 ; 36 Light Cyan 1 ; 36 Light Gray 0 ; 37 White 1 ; 37 ==================================================== type of color sequence: 3/4 bit 8 bit 24 bit ==================== Modes: color-mode 0 reset 1; lighter than normal 2; darker than normal =============== text-mode 3; italic 4;...
Comments
Post a Comment