Comments (5)
@rajatjindal @vdice Thanks to both of you.It works now!
from spin.
the same flag --insecure
works with spin up as well. (i just verified it)
spin up -f localhost:5000/myapp:latest --insecure
Serving http://127.0.0.1:3000
Available Routes:
http-ex: http://127.0.0.1:3000 (wildcard)
Handling request to Some(HeaderValue { inner: String("http://127.0.0.1:3000/") })
from spin.
After I clone the latest spin repo and build, I got different response:
Error: cannot log in to the registry
Caused by:
cannot authenticate as admin to registry docker.registry.local:5000: http transport error: error sending request for url (https://docker.registry.local:5000/v2/): error trying to connect: error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:354:
Spin version:
spin 2.7.0-pre0 (7833e71 2024-06-28)
from spin.
Hello @xiaocode,
The failures you are seeing are due to Spin's login client attempting to ensure a secure https connection with the local private registries which I assume are running unsecured (eg via http). The spin registry login
command doesn't yet support insecure/http registries (see #1211).
However, for any local registry running via http, you can proceed in using the other spin registry push/pull
commands without needing to authenticate. You just need to also supply the --insecure/-k
flag. For example: spin registry push docker.registry.local:5000/myapp:latest --insecure
. Can you give that a try and let us know if you are still experiencing issues?
from spin.
@vdice Thank you for your anwser.
I have tried to use spin registry push docker.registry.local:5000/myapp:latest --insecure
and success, but I when I try to use spin up -f
with and pass the registry reference, It shows that need the docker registry must use https to retrieve images.
I just want to use spin with local docker registry so that I can run this totally without Internet.
from spin.
Related Issues (20)
- Add native support for Golang and Python AWS SDKs
- Registry metadata support in application manifest HOT 3
- add MAINTAINERS.md file to each repository in Spin project HOT 1
- `spin update` An easier way to update to latest spin version HOT 1
- Endless re-compile in `spin watch` for Spin Apps that consist of multiple components HOT 1
- Hide old plugin versions in `spin plugins list`
- Spin-telemetry: consider eliminating the use of `set_global_default` HOT 4
- inconsistent preopened dirs between wasmtime and spin HOT 8
- Abstract pg client type in factor-outbound-pg HOT 2
- Need CORS config for HTTP trigger HOT 1
- Spin Docker image HOT 5
- spin.toml with colons in route causes inconsistent behaviour between Spin and Fermyon Cloud HOT 6
- Spin 2.7 release HOT 3
- Add a detach flag to the `spin up` command HOT 2
- Connecting using a simple postgresql url shouldn't be this convoluted HOT 2
- create project board for roadmap
- ensure all maintainers have write access the repository they are maintaining
- Update `wit-bindgen` versions throughout Spin and switch from `float64` to `f64`
- Consider switching service chaining domain from `spin.internal` to `spin.alt`
- LLM WIT World Updates
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 spin.