Skip to Content
dFlow
Data

dflow volumes:mount

Attach an unmounted volume to an application.

dflow volumes:mount NAME --app APP --mount-path PATH

Flags

NAME is a volume name in the current environment, or a volume id. --app and --mount-path are required. The path is an absolute directory inside the container. An application holds one volume. --wait defaults to true. --wait-timeout defaults to 20m and must be from 1s to 30m.

What you see

The application restarts with the disk at the path. The command succeeds when the operation finishes.

When it fails

A volume that is already mounted exits 4 with conflict. An application that already has a volume exits 4. An application in another environment exits 1. An unknown volume or application exits 3.

How is this guide?

Last updated on