Friday, July 31, 2020

Installion Docker in Lst Machine

Ip : 7.141

Installation of Docker :


Docker Basic Commands

1. docker ps: This command basically shows the container status. Its show running                                    Container



2. docker ps -a:  docker ps  command to list  All existing docker containers.



3. docker inspect <Container id> : Docker inspect provides detailed information on constructs controlled by Docker. By default, docker inspect will render results in a JSON array

4. To stop the docker container


=====================================================================
Installing Centos 8 image with creating volume and given Mac address

docker run --name finger -v /opt/Tech5/T5-ABIS/:/opt/Tech5/T5-ABIS/ -it --mac-address 48:df:37:70:2e:28 centos:8



-------------------------------------------------------------------------------------------------------------------------

To enter into docker container:

docker  exec -it finger bash   (finger docker name)



-------------------------------------------------------------------------------------------------------------------------


Installion Docker in Lst Machine

Ip : 7.141 Installation of Docker : Docker Basic Commands 1. docker ps:  This  command  basically shows the container status. Its sh...