New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom templates: "No templates available." #922
Comments
@jangrewe could you share your JSON definitions? |
Here's an abbreviated version which doesn't work:
|
I had a similar issue when setting up custom templates. For me adding the platform of the template to the JSON def seemed to fix this and my templates appeared without issue. |
I've been able to reproduce this, indeed it seems that adding the |
Thanks, adding this field fixes it! |
I'll keep this issue open as the |
Description
I'm using custom templates, and i can see that the request to
/api/templates?key=containers
returns my JSON, but the App Templates page just says "No templates available."Technical details:
/usr/bin/docker run --name portainer -v "/var/run/docker.sock:/var/run/docker.sock" -v "/srv/portainer:/data" -p 6000:9000 portainer/portainer
It doesn't work with 1.13.1 and 1.13.0 either (when using
--templates
), but works fine with 1.12.4The text was updated successfully, but these errors were encountered: