yarri-oss:

for the standard UID/GUID


I have already a “default” user at:
  

      github.com/tensorflow/tensorflow
  

  
    
  
    
  

  
    
      Vscode devcontainer
    

    
      tensorflow:master ← bhack:vscode_devcontainer
    

    
      
        opened 
        
          
        
        Aug 12, 2021
      
      

      
        
          
          bhack
        
      

      
        
          +116
          -0
        
      
    
  


  
    I know we closed https://github.com/tensorflow/tensorflow/pull/48679 but as Code…spaces is GA now please keep this open so that in the meantime we have a PR where the user could test and bootstrap Github Codespaces and we could collect some feedback.
  

  

  
    
    
  

  


We could give it the name that we want.
I don’t think we have too much alternative solutions now as this Is still open since 2013:

  

      github.com/moby/moby
  

  
    
  
	  
  

  
    
      Add ability to mount volume as user other than root
    

    
      
        opened 
        
          
        
        Oct 17, 2013
      
      


      
        
          
          mingfang
        
      
    

    
        area/api
        area/kernel
        exp/expert
        kind/enhancement
        area/volumes
    
  


  
    Use case: mount a volume from host to container for use by apache as www user.
T…he problem is currently all mounts are mounted as root inside the container.
For example, this command
 docker run -v /tmp:/var/www ubuntu stat -c "%U %G" /var/www
will print "root root"

I need to mount it as user www inside the container.
  

  

  
    
    
  

  





 yarri-oss:

This compares to 4 hrs plus for full TF


It Is really different as Tensorflow is python, c++ and all the third_party dependencies that we compile from source (e.g. llvm etc.).
We need to invest time on this to have a similar experience in Codespace/VsCode remote-containers:

  

      github.com/tensorflow/build
  

  
    
  
	  
  

  
    
      Provide Bazel cache for TensorFlow builds 1
    

    
      
        opened 
        
          
        
        May 15, 2020
      
      


      
        
          
          angerson
        
      
    

    
    
  


  
    Providing a TensorFlow build cache could be very helpful to external developers,… and lower the barrier to entry of contributing to TF.

Some ideas for this we've discussed before are:

- Offer [Bazel RBE](https://docs.bazel.build/versions/master/remote-execution.html) resources on behalf of SIG Build. This service is in alpha on GCP.
- Provide a read-only [build cache](https://docs.bazel.build/versions/master/remote-caching.html#google-cloud-storage) in a GCP bucket.
- Provide `devel_cache` Docker images containing a build cache (these could be very large)
- Provide code-and-cache volumes for the docker `devel` images.

See also:

- https://github.com/tensorflow/tensorflow/issues/39560
- https://github.com/tensorflow/tensorflow/issues/4116
- https://github.com/tensorflow/addons/issues/1414