EMERGING TRENDS IN SOFTWARE ENGINEERING
DEVOPS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
docker ls-a
|
|
docker search
|
|
docker pull
|
|
None of the above
|
Detailed explanation-1: -docker search We can use the command docker search to search for public images on the Docker hub. It will return information about the image name, description, stars, official and automated. docker search MySQL. If you prefer a GUI-based search option, use the Docker Hub website.
Detailed explanation-2: -Actually, Docker images are stored in two files as shown by following command. /var/lib/docker/aufs/diff/<id> has the file contents of the images. /var/lib/docker/repositories-aufs is a JSON file containing local image information. This can be viewed with the command docker images.
Detailed explanation-3: -Visit Docker Hub at hub.docker.com in your web browser. Click Explore to view all images, or enter a search query to find images: Click on a result to see the image details: The tags Tab will show you all of the different tags within that image, which you can pull and run with Docker. 04-Sept-2022