Skip to main content
Version: Next

Dfctl

dfctl is the command-line tool of Dragonfly used to manage tasks in client's local storage, including task, persistent task and persistent cache task.

Usage

Task

List all tasks in client's local storage.

dfctl task ls

Delete a task in client's local storage.

dfctl task rm <ID>

Preheat a file task.

dfctl task preheat http://example.com/file.txt --scheduler-endpoint http://scheduler-service:8002

Preheat a image task.

dfctl task preheat oci://docker.io/library/nginx:latest --scheduler-endpoint http://scheduler-service:8002 --username <USERNAME> --password <PASSWORD>

Persistent Task

List all persistent tasks in client's local storage.

dfctl persistent-task ls

Persistent Cache Task

List all persistent cache tasks in client's local storage.

dfctl persistent-cache-task ls