Git Product home page Git Product logo

Comments (2)

petrus-v avatar petrus-v commented on May 20, 2024

hum... I thinks the documentation may mixed information from previous version 2.

Once plugins is up:

sudo docker plugin ls
ID                  NAME                         DESCRIPTION                      ENABLED
3ebe8b89b151        anybox/buttervolume:latest   BTRFS Volume Plugin for Docker   true

buttervolume should be already running.

So you can create anybox/buttervolume:latest likes:

sudo docker volume create --name testbtrfs -d anybox/buttervolume:latest
testbtrfs

Then to schedul jobs there is various way, one is to install buttervolume command line client

buttervolume scheduled # this is to list jobs

or using the command line client installed inside the plugin:

alias drunc="sudo docker-runc --root /var/run/docker/plugins/runtime-root/plugins.moby/"
alias buttervolume="drunc exec -t `drunc list|tail -n+2|awk '{print $1}'` buttervolume"
buttervolume --help

I think it's not necessary anymore to have btrfs.sock in /var/run/docker/plugins, (maybe expected for the first use case when installed separetly)

hope that helps,
regards

from buttervolume.

ccomb avatar ccomb commented on May 20, 2024

Hi, I've just released version 3.5 with a more explicit doc about the socket and the difference between running butterbolume as a new-style plugin or running it manually. Closing this issue, you can reopen if you still have some suggestion. Thanks!

from buttervolume.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.