The data directory is the location where opctl's state is stored such as remote ops, events, run graph data (e.g. container files/dirs), etc...

Default location

By default, the data dir is located at "per user app data path/opctl"

Custom location (since v0.1.25)

A custom data dir location (such as .opctl) can be specified by (listed in order of precedence):

  • passing the --data-dir option to node create
  • setting an OPCTL_DATA_DIR environment variable

The value of either MUST be a relative or absolute path.


results matching ""

    No results matching ""