Code Monkey home page Code Monkey logo

focker's People

Contributors

sadaszewski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

focker's Issues

What's needed next?

Thanks for this project.
My first post on the forums, one year ago, was about this very thing.

Perhaps you could add a short list or roadmap of what needs help.
Haven't sat down to use this yet.

Container Runtime integration

Are there any plans to integrate focker with any of the existing container runtimes? From what I know many people hope for kubernetes support on FreeBSD so focker would need to integrate with one of the existing container runtimes that are supported by kubernetes already unless someone wants to create yet another container runtime.

From the kubernetes docs currently supported container runtimes are:

  • docker
  • CRI-O
  • containerd
  • frakti

https://kubernetes.io/docs/setup/production-environment/container-runtimes/

Error on zfs list

Error:

focker bootstrap
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.7/site-packages/focker/focker.py", line 211, in <module>
    main()
  File "/usr/local/lib/python3.7/site-packages/focker/focker.py", line 200, in main
    zfs_init()
  File "/usr/local/lib/python3.7/site-packages/focker/zfs.py", line 193, in zfs_init
    poolname = zfs_poolname()
  File "/usr/local/lib/python3.7/site-packages/focker/zfs.py", line 185, in zfs_poolname
    poolname = zfs_parse_output(['zfs', 'list', '-H', '/'])
  File "/usr/local/lib/python3.7/site-packages/focker/zfs.py", line 26, in zfs_parse_output
    out = zfs_run(command)
  File "/usr/local/lib/python3.7/site-packages/focker/zfs.py", line 21, in zfs_run
    out = subprocess.check_output(command, stderr=subprocess.STDOUT)
  File "/usr/local/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/usr/local/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['zfs', 'list', '-H', '/']' returned non-zero exit status 1.

I have a zfs pool/dataset in /data (not /) I suppose that's why this fails, but I couldn't figure how to tell focker to look in /data

in fact, I get this error even when not passing any arg

Disitrubte PyPI sdist for 0.92

While looking to fetch the GitHub sources for 0.91 (See #1), I noticed the 0.92 git tag. The current focker PyPI (sdist) version is 0.91.

It would be create, if 0.92 is 'complete', to update the PyPI sdist to 0.92, from the revision at which that version was tagged

line 199, in command_compose_run raise NotImplementedError

sudo focker compose r focker-compose.yml clone Waiting for /var/lock/focker.lock ... Lock acquired. poolname: zroot Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.7/site-packages/focker/focker.py", line 266, in <module> main() File "/usr/local/lib/python3.7/site-packages/focker/focker.py", line 262, in main args.func(args) File "/usr/local/lib/python3.7/site-packages/focker/compose.py", line 199, in command_compose_run raise NotImplemented

Am Im missing something?
i followed the guide here?
https://github.com/sadaszewski/focker#commands
and https://github.com/sadaszewski/focker#focker-composeyml-syntax

Add git tag for 0.91 (PyPI) release

PyPI is currently at 0.91 but there isn't a corresponding git tag for this version.

Please add a 0.91 git tag for the revision from which the last PyPI sdist was produced would be appreciated

I'm creating a FreeBSD port, and will be using GitHub to fetch sources as the sdist is missing some desirable files (will create separate issues, PR's for these). When using GitHub for sources, its preferable to have exact git tags from which to fetch the tarballs, rather than using commit revision hashes

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.