i try to move my nodered from my server to docker. Basicly nodered is running and i start working with it. First step will be to import my existing project from my git server to the docker nodered.
But i get this error:
Unexpected error:
remote: 404 page not found fatal: repository 'http://url.to.eu/foo/nrdocker.git/' not found
code: unexpected_error
The url is correct - i copied from my git repo and i can also access the repo via a git client.
Try git clone with --verbose flag from within your container and see what it outputs.
Maybe you cant access your remote repository because it requires authentication and your container doesnt have it? Maybe your container doesnt have access to the internet?
As an alternative, you can clone the repo on your host machine, then mount it as a volume of your container, or copy it to your container.
git clone verbose shows that the internal dns was not working correctly. The dns settings on the docker host was wrong (it pointed to quad9) - i changed to the local dns and everything is working.