Korbs / Zot Docker Setup

0 лайк(-ов)
0 форк(-ов)
3 файл(-ов)
Последняя активность 9 months ago
Straight-forward setup for Zot in Docker. Steps are also included how to use it as a Docker registry.

Zot Docker Setup

Setup Zot in Docker

This is mostly how SudoVanilla's Docker registry is setup.

I'm still new to Zot, so some information below could be inaccurate and some important information could be missing too.

Configuration

Korbs / Include HTML File

0 лайк(-ов)
0 форк(-ов)
3 файл(-ов)
Последняя активность 9 months ago
This is kinda like including a component in a JS framework using the "import" function, but with vanilla JavaScript.
1 function includeHTML() {
2 var z, i, elmnt, file, xhttp;
3 z = document.getElementsByTagName("*");
4 for (i = 0; i < z.length; i++) {
5 elmnt = z[i];
6 file = elmnt.getAttribute("include-html");
7 if (file) {
8 xhttp = new XMLHttpRequest();
9 xhttp.onreadystatechange = function() {
10 if (this.readyState == 4) {