-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Deploying first app
In first place please create a new Fn CLI context for the particular deployment:
fn create context distributed-fn --registry <container-registry> --api-url http://api.fn.local:8080
fn use context distributed-fn
Who can tell me what's the --registry <container-registry> means ?
I think --registry <container-registry> means docker hub registry , so I set value http://f1361db2.m.daocloud.io but it semms not current.
[root@localhost pyfn]# fn -v deploy --app testapp
Deploying pyfn to app: testapp
Bumped to version 0.0.2
Building image http://f1361db2.m.daocloud.io/pyfn:0.0.2
FN_REGISTRY: http://f1361db2.m.daocloud.io
Current Context: distributed-fn
invalid argument "http://f1361db2.m.daocloud.io/pyfn:0.0.2" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
Could someone tell me how to deal with this problem ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels