Skip to content

fn create context container-registry ? #104

@Arvinzhu

Description

@Arvinzhu

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 ?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions