Comments (6)
Try faas-cli deploy
without sudo
as you have used faas-cli
login without sudo
.
from faas-cli.
@nitishkumar71 Now error changed to 400 and is like this:
WARNING! You are not using an encrypted connection to the gateway, consider using HTTPS.
Unexpected status: 400, message: unable to pull image docker.io/test3/callme:latest: cannot pull: failed to resolve reference "docker.io/test3/callme:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Function 'callme' failed to deploy with status code: 400
from faas-cli.
It sounds like you haven't pushed your image.
I can't docker pull docker.io/test3/callme:latest
Remember to run faas-cli publish
or faas-cli build && faas-cli push
on another machine where you have Docker installed.
I now recommend using ttl.sh instead of docker.io, it allows you to push images for testing without authentication or signing up.
Alex
from faas-cli.
All the instructions for faasd are in the eBook - it sounds like you would benefit from a copy if you don't already have one, it also explains why we don't building images in the same VM as faasd.
https://store.openfaas.com/l/serverless-for-everyone-else
from faas-cli.
Sorry for asking this simple question. I installed and ran OpenFaas from faasd, /hack/install.sh
file. After building callme
, I saw that in my images. I have docker installed in the same virtual machine (Ubuntu). Should I start image that added as test3/callme
? How could I call the method after running this docker image?
It just starts with this message:
2023/07/07 13:58:58 Version: 0.2.1 SHA: cd8dc9f4e98049150d8079a74a18cd5a2e311aeb
2023/07/07 13:58:58 Timeouts: read: 5s write: 5s hard: 0s health: 5s.
2023/07/07 13:58:58 Listening on port: 8080
2023/07/07 13:58:58 Writing lock-file to: /tmp/.lock
2023/07/07 13:58:58 Metrics listening on port: 8081
In my sudo faas-cli list
command I just see one function named Printer
, once I added it accidentally from UI before with some errors, and can see my aimed function callme
:
Function Invocations Replicas
printer 0 0
from faas-cli.
@nitishkumar71 Hi, do you have any suggestion?
from faas-cli.
Related Issues (20)
- Have the ability to override not only the gateway URL but also the image name (repository, tag) in faas CLI commands HOT 6
- Proposal: expose docker cache-from capability HOT 4
- Add ARM64 build for MacOS HOT 1
- Capability to select container driver
- Override template Dockerfile or any file in the template. HOT 6
- feature: add watch mode to faas-cli up workflow HOT 3
- Enhancement: faas-cli local-run should run a build first HOT 6
- Question: How do I publish images when buildkit requires a self-signed certificate? HOT 6
- Question: generating image tags from Git HOT 5
- faas-cli might be incompatible for docker versions 23.0.0 and above HOT 2
- Issue with new feature faas-cli up --watch HOT 13
- Make it possible for image version to have fixed length HOT 4
- I hope to have a more flexible configuration. HOT 1
- provide namespace mangement capabilities in faas-cli
- Failing test: Test_PullTemplates
- bump go-sdk version to v2.7.0
- Specify a local file on disk for the function store HOT 6
- FunctionResources print is not correctly formatted in describe command
- Namespace list command fails with 401 status code on OpenFaaS Enterprise cluster with IAM enabled.
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 faas-cli.