Reference question: Quiz: Containers
I couldn’t figure out the command for the same
Hi @Hemangini_Malhotra , Thank you for contacting the Educative team with your query!
The answer to your query is as follows:
Step 1: enter the following command to get into the container:
docker container run -it ubuntu:latest /bin/bash
Step 2: Once inside the container, enter the command below to see all packages:
dpkg -l
Hope the answer to the question.
Please feel free to reply here if there is still some confusion.
Hope you have an amazing learning experience on Educative!