Answers: <p>You can see the packages in a container by exec to it:
  docker exec  pip list</p>
  
Answers: CC BY-SA 4.0
Answers: 2022-02-26T08:41:15.697Z
Answers: 2022-02-26T08:41:15.697Z
Answers: Avi
Body: <p>I use Gradient notebooks, they grab the container from a URL and files from a Github repo and combine them to make Notebook instance.</p>
  <p>Something like this one.
  <a href="https://i.sstatic.net/nKnjj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/nKnjj.png" alt="enter image description here" /></a></p>
  <p>However, the container image from this URL (nvcr.io/nvidia/tensorflow:21.09-tf2-py3), which I use to learn Tensorflow does not have sklearn and matplotlib.</p>
  <p>I need to install sklearn and matplotlib every single time using pip. I thought why not grab an images with all basic packages and Tensorflow. But on Docker's website (<a href="https://hub.docker.com/search?q=tensorflow&amp;type=image&amp;image_filter=store" rel="nofollow noreferrer">https://hub.docker.com/search?q=tensorflow&amp;type=image&amp;image_filter=store</a>), how do I check the softwares inside the images. I know if I search Tensorflow I get images of Tensorflow, but how do I check if they have matplotlib and sklearn.</p>
  <p>I know I can make my own container, but I just want to save my time with verified publishers.</p>
  
Tags: <docker>
Title: How to know if a certain container has a software/package installed or not?
UserDisplayName: Prakhar Sharma
ThreadText: # How to know if a certain container has a software/package installed or not?
  
  (Asked by: username_0 on 2022-02-22)
  
  I use Gradient notebooks, they grab the container from a URL and files from a Github repo and combine them to make Notebook instance.
  
  Something like this one.
  [![enter image description here](https://i.sstatic.net/nKnjj.png)](https://i.sstatic.net/nKnjj.png)
  
  However, the container image from this URL (nvcr.io/nvidia/tensorflow:21.09-tf2-py3), which I use to learn Tensorflow does not have sklearn and matplotlib.
  
  I need to install sklearn and matplotlib every single time using pip. I thought why not grab an images with all basic packages and Tensorflow. But on Docker's website (<https://hub.docker.com/search?q=tensorflow&type=image&image_filter=store>), how do I check the softwares inside the images. I know if I search Tensorflow I get images of Tensorflow, but how do I check if they have matplotlib and sklearn.
  
  I know I can make my own container, but I just want to save my time with verified publishers.
  
  **Tags:** docker
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-02-26. Score: 0 | Accepted answer
  
  You can see the packages in a container by exec to it:
  docker exec pip list
  
  
  ---
  
  