Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dockerenv (0.16 sec)

  1. cmd/update.go

    // https://github.com/containers/podman/blob/master/libpod/runtime.go
    //
    //	"/.dockerenv":        "file",
    //	"/run/.containerenv": "file",
    func IsDocker() bool {
    	var err error
    	for _, envfile := range []string{
    		"/.dockerenv",
    		"/run/.containerenv",
    	} {
    		_, err = os.Stat(envfile)
    		if err == nil {
    			return true
    		}
    	}
    	if osIsNotExist(err) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

    #include <string>
    
    #include "tensorflow/core/platform/status.h"
    
    namespace tsl {
    class CoordinationServiceAgent;
    }
    
    namespace tensorflow {
    class ImmediateExecutionContext;
    class ServerDef;
    class WorkerEnv;
    class WorkerCacheInterface;
    
    class ImmediateExecutionDistributedManager {
     public:
      virtual ~ImmediateExecutionDistributedManager() {}
    
      // Set up distributed execution environment on local and remote tasks.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top