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 ?
Thanks for trying out Fn. I think you have the value mostly right, however, I don't think you include the "https://" in the registry value.
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 "https://" protocol specification from the host name and path and see if that works.
Activity
michael-w-williams commentedon Sep 26, 2019
Hi Arvinzhu,
Thanks for trying out Fn. I think you have the value mostly right, however, I don't think you include the "https://" in the registry value.
As an example, I am gonna a refer to an example on the Oracle Functions Quickstart site.
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-repoFor Docker hub, I believe you just use your docker hub username, for example:
fn update context registry your-username-hereFrom the data you provided it looks like you are using a different service so your mileage may vary. But I would try removing the "https://" protocol specification from the host name and path and see if that works.
Let me know how it goes.
Mike W.