Comments (6)
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/153601433
The labels on this github issue will be updated when the story is started.
from garden-runc-release.
Hi @juaningan - no, you can't, garden uses the create/start split rather than OCI hooks. This means you can supply a network-plugin (via the network_plugin bosh property) which will be run to configure the network of the container after it is created but before it is started. We don't support generic plugins or hooks but if you're able to discuss your specific use case for them perhaps we can suggest other ways of achieving the same thing?
from garden-runc-release.
Really my usecase is to get kvm acceleration running in runC container in concourse. So I was thinking in OCI hooks to modify the standard config.json that concourse initialize.
from garden-runc-release.
cool! so you have two options there:
- You can define a
runtime_plugin
to use a runtime other thanrunc
. If you like, this plugin can actually just do stuff to the bundle/config.json and then exec the actual runc binary. - You can wait for us to expose
bundle_plugins
which will allow you to define transformations on bundles directly (but that's a little way down our backlog so you may want to go for the first approach!).
Let us know if you want any help and how you get on: we're always available in #garden channel on slack- good luck!
from garden-runc-release.
Ok, perfect thanks a lot. I'll give it a try. Just a question, what is the difference between runtime and image plugin?
from garden-runc-release.
image_plugin
is responsible for downloading the image (e.g. from docker hub or an OCI registry, using OCI image-spec), runtime_plugin
is responsible for running it (i.e. it implements OCI runtime-spec, like runc
).
An example of an image_plugin is grootfs. An example of a runtime_plugin is runc
.
(Concourse doesn't actually use image plugins, though, since it directly downloads the images with baggage_claim and passes them to us directly).
from garden-runc-release.
Related Issues (20)
- Use containerd-style stdin closer instead of exponential backoff stdin close HOT 2
- Get the protobuf duplicate fix registration warning/panic fixed in log-cache-release HOT 3
- GrootFS additional metrics HOT 7
- Support exporting garden-runc-release on windows HOT 4
- Uninitialized constant when rendering job template HOT 15
- Add support in CFAR for per-docker-app seccomp profiles HOT 6
- Upgrade busybox to 1.34.1 HOT 1
- Question: now the app container started by garden, the PID 1 process is app process? HOT 3
- gdn binary is gone in 1.20.9 release assets HOT 3
- Gdn failed to run on ubuntu bionic HOT 33
- Release gdn binary for ARM HOT 2
- release 1.22.9 doesn't include gdn binary HOT 2
- containerd and runc are included in two places that cause versions falling out of sync HOT 1
- Pinned dependecies should have a reason or unpinned
- Test issue. Please Ignore.
- Change default for garden spec to be containerd mode
- Stop Testing for and remove rootless mode
- Stop testing for containerd-for-processes in CI HOT 6
- Missing gdn binaries in release assets for 1.46 HOT 2
- Noisy neighbours causing CPU entitlement usage of consistent load apps to increase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garden-runc-release.