You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
In this example the service defines the structure for their registry value as: fn update context registry <region-code>.ocir.io/<tenancy-namespace>/<repo-name>
which results in this for a command: fn update context registry phx.ocir.io/ansh81vru1zp/acme-repo
For Docker hub, I believe you just use your docker hub username, for example: fn update context registry your-username-here
From the data you provided it looks like you are using a different service so your mileage may vary. But I would try removing the "http://" protocol specification from the host name and path and see if that works.
Deploying first app
In first place please create a new Fn CLI context for the particular deployment:
Who can tell me what's the
--registry <container-registry>
means ?I think
--registry <container-registry>
meansdocker hub registry
, so I set valuehttp://f1361db2.m.daocloud.io
but it semms not current.Could someone tell me how to deal with this problem ?
The text was updated successfully, but these errors were encountered: