Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 365 for mount (0.18 sec)

  1. internal/mountinfo/mountinfo_linux.go

    			// At this point if the mount point has a common prefix two conditions can happen.
    			// - mount.Path matches exact with `path` means we can proceed no error here.
    			// - mount.Path doesn't match (means cross-device mount), should error out.
    			if mount.Path != path {
    				crossMounts = append(crossMounts, mount)
    			}
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  2. common/scripts/run.sh

        --init \
        --sig-proxy=true \
        ${DOCKER_SOCKET_MOUNT:--v /var/run/docker.sock:/var/run/docker.sock} \
        $CONTAINER_OPTIONS \
        --env-file <(env | grep -v ${ENV_BLOCKLIST}) \
        -e IN_BUILD_CONTAINER=1 \
        -e TZ="${TIMEZONE:-$TZ}" \
        --mount "type=bind,source=${MOUNT_SOURCE},destination=/work" \
        --mount "type=volume,source=go,destination=/go" \
        --mount "type=volume,source=gocache,destination=/gocache" \
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Aug 11 02:34:11 GMT 2023
    - 2.2K bytes
    - Viewed (1)
  3. common/scripts/setup_env.sh

      unset -f "${f}"
    done
    
    # Set conditional host mounts
    CONDITIONAL_HOST_MOUNTS="${CONDITIONAL_HOST_MOUNTS:-} "
    container_kubeconfig=''
    
    # docker conditional host mount (needed for make docker push)
    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/sub-applications.md

    ```Python hl_lines="11  14-16"
    {!../../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### Mount the sub-application
    
    In your top-level application, `app`, mount the sub-application, `subapi`.
    
    In this case, it will be mounted at the path `/subapi`:
    
    ```Python hl_lines="11  19"
    {!../../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux_test.go

    	mountsPath := filepath.Join(dir, "mounts")
    	if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil {
    		t.Fatal(err)
    	}
    	// Verifies if reading each line worked properly.
    	{
    		var mounts mountInfos
    		mounts, err = readProcMounts(mountsPath)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(mounts) != 3 {
    			t.Fatalf("expected 3 mounts, got %d", len(mounts))
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/wsgi.md

    # Including WSGI - Flask, Django, others
    
    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. docs/fa/docs/advanced/sub-applications.md

    # زیر برنامه ها - اتصال
    
    اگر نیاز دارید که دو برنامه مستقل FastAPI، با OpenAPI مستقل و رابط‌های کاربری اسناد خود داشته باشید، می‌توانید یک برنامه
    اصلی داشته باشید و یک (یا چند) زیر برنامه را به آن متصل کنید.
    
    ## اتصال (mount) به یک برنامه **FastAPI**
    
    کلمه "Mounting" به معنای افزودن یک برنامه کاملاً مستقل در یک مسیر خاص است، که پس از آن مدیریت همه چیز در آن مسیر، با path operations (عملیات های مسیر) اعلام شده در آن زیر برنامه می باشد.
    
    ### برنامه سطح بالا
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/chroot/README.md

    ```sh
    mkdir -p /mnt/export/${USER}/bin
    wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /mnt/export/${USER}/bin/minio
    chmod +x /mnt/export/${USER}/bin/minio
    ```
    
    Bind your `proc` mount to the target chroot directory
    
    ```
    sudo mount --bind /proc /mnt/export/${USER}/proc
    ```
    
    ## 3. Run Standalone MinIO in Chroot
    
    ### GNU/Linux
    
    ```sh
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. docs_src/static_files/tutorial001.py

    from fastapi import FastAPI
    from fastapi.staticfiles import StaticFiles
    
    app = FastAPI()
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 159 bytes
    - Viewed (0)
  10. docs_src/wsgi/tutorial001.py

        name = request.args.get("name", "World")
        return f"Hello, {escape(name)} from Flask!"
    
    
    app = FastAPI()
    
    
    @app.get("/v2")
    def read_main():
        return {"message": "Hello World"}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue May 09 14:32:00 GMT 2023
    - 443 bytes
    - Viewed (0)
Back to top