You can create derived images with the FROM directive:

  
      

      Docker Documentation – 8 Jul 21
  

  
    

Best practices for writing Dockerfiles

  Hints, tips and guidelines for writing clean, reliable Dockerfiles


  

  
    
    
  

  



And, in the images you mentioned by the link you gave, is there CUDA, Python, Tensorflow and all necessary stuff integrated into its/one image

Yes, for GPU support use the GPU images:

  
      

      TensorFlow
  

  
    

Docker  |  TensorFlow 1