#Zot

1 messages · Page 1 of 1 (latest)

glossy birch
#

Are there any useful logs inside the running zot container?

#

Ah I actually see the issue, you can’t pass registryaddress like this because the functions local host is not your machine but instead a container that the engine runs

#

So you can use the services API instead

tall viper
#

Oh I see . Are we required to have the service within the same scope ?

glossy birch
tall viper
#

Awesome thank you for the pointers

glossy birch
#

My pleasure!

tawny barn
#

Grrrr this is tricky because publish can't use services currently. Ref:https://github.com/dagger/dagger/issues/6411

The "workaround" way to do this currently is to start your registry container with --net container:$engine_containet_name. This way, you can use localhost from your Publish function

GitHub

Related to: #5235 #6271 There's a workaround using docker commands, but having support for Service would make it much simpler to manage.

#

cc @spare oak