MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings
From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.
With Motoshare, every parked vehicle finds a purpose.
Owners earn. Renters ride.
🚀 Everyone wins.
- What is Docker – in 2 lines
Ans: Docker is a Container management tool, where we can run the applications with less infrastructure.
2) What is Container – in 3 lines
Ans: Container is a Virtual Machine with no Kernal. which contains Net,PID,RootFileSystem,UserFileSystem
3) Top 10 commands with 1 example of using docker container
docker create --name=container_name image_name-> create Container
docker start container_name -> start Container
docker stop container_name -> stop Container
docker restart container_name -> restart Container
docker pause container_name -> pause Container
docker kill container_name -> kill Container
docker unpause container_name -> unpause Container
docker rm container_name -> remove Container
docker run -itd --name=container_name image_name -> create start Container
docker rename container_name new_container_name -> rename the container
docker ps -a -> list all the running containers
docker exec -it container_name /bin/bash -> go inside the container
docker inspect container_name -> inspect the containerCode language: PHP (php)
4) 5 commands with 1 example of using docker image
docker images -> list of images
docker pull image_name -> pull the image from registry
docker rmi image_name -> remove the image
docker save -i image_name.tar image_name -> save the image as tar
docker load -o image_name.tar -> load the image
docker commit -m"message" image_name Code language: JavaScript (javascript)
5) 5 commands with 1 example of using docker registry
docker login -> login to registery
docker logout -> logout to registery
docker push image_name repositoryName -> push the image to registery
docker tag image_name new_image_name -> rename the image