Comments (4)
But, why is it Bacalhau cannot resolve this but Docker can?
It's something to do with docker context
:
% docker context list
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default moby Current DOCKER_HOST based configuration unix:///var/run/docker.sock
desktop-linux * moby Docker Desktop unix:///Users/simon/.docker/run/docker.sock
Docker internally seems to be storing contextual informaiton in ~/.docker/config.json
and ~/.docker/contexts
on at least systems with Docker Desktop (Macs and probably Windows). This looks like a closed-source proprietary addition to Docker and not part of the open-source version Moby.
To fix this issue, we could:
- double-check that there is nowhere open-source that Docker are making available this contexts feature
- if not, write our own parser for the contexts structure into our Docker client (it's not complicated)
% cat config.json
{
"auths": {
"ghcr.io": {}
},
"credsStore": "desktop",
"currentContext": "desktop-linux"
}
% cat contexts/meta/fe9c6bd7a66301f49ca9b6a70b217107cd1284598bfc254700c989b916da791e/meta.json
{"Name":"desktop-linux","Metadata":{"Description":"Docker Desktop"},"Endpoints":{"docker":{"Host":"unix:///Users/simon/.docker/run/docker.sock","SkipTLSVerify":false}}}%
from bacalhau.
Taking on more visible errors is super important - we just keep running into this.
I don't want to turn this bug into the feature - created a new one - #3059
from bacalhau.
This is still a bug, separate from the error message given.
from bacalhau.
This is still an issue that I just faced after updating my docker desktop
from bacalhau.
Related Issues (20)
- No bid rejection for transient reasons. E.g. no available capacity
- Atomic job store transactions
- Scheduler logic to backoff and retry failed executions
- Backfill evaluations at startup
- Update evaluation state
- Handling Ungraceful Terminations of Log Streams on NATS HOT 1
- Deploy canaries with filtered installationID
- Refactor configuration systems to remove global config access
- Improved Configuration Management
- Job rescheduling policies
- Add queue and total timeout values to jobs
- Housekeeping task to fail jobs exceeding total timeouts
- Reschedule jobs if no nodes were found
- Use new APIs for `wasm run`
- `bacalhau node list` returns error `failed request: invalid node type: nodeTypeUndefined` HOT 4
- Separate out streaming client into consumer and producer client and add heart beat logic
- Optimize the heart beating mainly, to do more optimistic cleanup instead of just removing all stream ids
- Add end to end tests using devstack for unhappy cases for log streaming
- obtuse error message from `bacalhau docker run` when issuing job with invalid parameters
- Handle graceful shutdown of produceer client via context
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 bacalhau.