{"id":83326,"date":"2020-05-30T07:42:39","date_gmt":"2020-05-30T05:42:39","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/realizacziya-komand-docker-pull-i-docker-push-bez-docker-klienta-posredstvom-http-zaprosov"},"modified":"2020-05-30T07:42:39","modified_gmt":"2020-05-30T05:42:39","slug":"realizacziya-komand-docker-pull-i-docker-push-bez-docker-klienta-posredstvom-http-zaprosov","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/realizacziya-komand-docker-pull-i-docker-push-bez-docker-klienta-posredstvom-http-zaprosov","title":{"rendered":"Realizimi i komandave docker pull dhe docker push pa klientin docker p\u00ebrmes k\u00ebrkesave HTTP","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u0423 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e 2 \u043c\u0435\u0448\u043a\u0430 \u0442\u0440\u0430\u0432\u044b, 75 \u0442\u0430\u0431\u043b\u0435\u0442\u043e\u043a \u043c\u0435\u0441\u043a\u0430\u043b\u0438\u043d\u0430 unix environment, docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b docker pull \u0438 docker push \u0431\u0435\u0437 \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/87a671dbf5a0128d464bb78a369b0556.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p>UPD:<br \/>\n\u0412\u043e\u043f\u0440\u043e\u0441: \u0414\u043b\u044f \u0447\u0435\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e?<br \/>\n\u041e\u0442\u0432\u0435\u0442: \u041d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 (\u041d\u0415 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0431\u0430\u0448\u0430, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445). \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u043b\u043e\u0435\u043a (\u0432 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445) \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044d\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443\u0431\u0440\u0430\u043b\u0438 \u0432\u0441\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0438\u0441\u0442\u0443\u044e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442.<br \/>\n\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0442\u0443\u043b\u044b GNU \u0432\u0435\u0440\u0441\u0438\u0439.<\/p>\n<p><\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u044e\u0442 \u044d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<p><\/p>\n<p>\u0418\u0442\u0430\u043a \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f docker pull? \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/pull\/\" rel=\"nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/noindex>:<\/p>\n<p><\/p>\n<blockquote><p>&quot;Pull an image or a repository from a registry&quot;.<\/p><\/blockquote>\n<p>\u0422\u0430\u043c \u0436\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/storage\/storagedriver\/\" rel=\"nofollow\">understand images, containers, and storage drivers<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/fa86fd8d8472bb340d87fb063fa8d3c3.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u041e\u0442\u0441\u044e\u0434\u0430 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043d\u044f\u0442\u044c \u0447\u0442\u043e docker image \u044d\u0442\u043e \u043d\u0430\u0431\u043e\u0440 \u043d\u0435\u043a\u0438\u0445 layers, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u0445 \u0432 \u0438\u043c\u0435\u0434\u0436\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u043d\u0430\u043c \u0438 \u043d\u0443\u0436\u043d\u044b. \u0414\u0430\u043b\u044c\u0448\u0435 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/registry\/spec\/api\/#pulling-an-image\" rel=\"nofollow\">registry API<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<p><\/p>\n<blockquote><p>&quot;An \u201cimage\u201d is a combination of a JSON manifest and individual layer files. The process of pulling an &gt; image centers around retrieving these two components.&quot;<\/p><\/blockquote>\n<p>\u0418\u0442\u0430\u043a \u043f\u0435\u0440\u0432\u044b\u0439 \u0448\u0430\u0433 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u044d\u0442\u043e \u201c<strong>Pulling an Image Manifest<\/strong>\u201d.<\/p>\n<p><\/p>\n<p>\u041f\u0443\u043b\u0438\u0442\u044c \u043c\u044b \u0435\u0433\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043d\u0435\u0433\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u044b. \u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430: <code>GET \/v2\/{name}\/manifests\/{reference}<\/code><\/p>\n<p><\/p>\n<blockquote><p>&quot;The name and reference parameter identify the image and are required. The reference may include a tag or digest.&quot;<\/p><\/blockquote>\n<p>\u041d\u0430\u0448 \u0434\u043e\u043a\u0435\u0440 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">curl -s -X GET &quot;http:\/\/localhost:8081\/link\/to\/docker\/registry\/v2\/centos-11-10\/manifests\/1.1.1&quot; -H &quot;header_if_needed&quot;<\/code><\/pre>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/ece0488a2c580e1f1152553c5c0f5174.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u0412 \u043e\u0442\u0432\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c json \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0435\u0440\u044b, \u0442\u043e\u0447\u043d\u0435\u0435 \u0438\u0445 \u0445\u044d\u0448\u0438. \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0438\u0445, \u043c\u043e\u0436\u0435\u043c \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441: &quot;GET \/v2\/{name}\/blobs\/{digest}&quot;<\/p>\n<p><\/p>\n<blockquote><p>\u201cAccess to a layer will be gated by the name of the repository but is identified uniquely in the registry by digest.\u201d<\/p><\/blockquote>\n<p>digest \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438 \u0435\u0441\u0442\u044c \u0445\u044d\u0448, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438.<\/p>\n<p><\/p>\n<p>\u041f\u0440\u043e\u0431\u0443\u0435\u043c <\/p>\n<p><\/p>\n<pre><code class=\"bash\">curl -s -X GET &quot;http:\/\/localhost:8081\/link\/to\/docker\/registry\/v2\/centos-11-10\/blobs\/sha256:f972d139738dfcd1519fd2461815651336ee25a8b54c358834c50af094bb262f&quot; -H &quot;header_if_needed&quot; --output firstLayer<\/code><\/pre>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/76222d75378f41cc659ce6561bba797a.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u0437\u0430 \u0444\u0430\u0439\u043b \u043c\u044b \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043b\u0435\u0435\u0440\u0430.<\/p>\n<p><\/p>\n<pre><code class=\"bash\">file firstLayer<\/code><\/pre>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/5743b52a086c0c75b5622b5ba50391be.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u0442.\u0435. \u043b\u0435\u0435\u0440\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f tar \u0430\u0440\u0445\u0438\u0432\u044b, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0438\u043c\u0435\u0434\u0436\u0430.<\/p>\n<p><\/p>\n<p>\u041d\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0431\u0430\u0448 \u0441\u043a\u0440\u0438\u043f\u0442 \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0451 \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/p>\n<p><\/p>\n<pre><code class=\"bash\">#!\/bin\/bash -eu\n\ndownloadDir=$1\n# url as http:\/\/localhost:8081\/link\/to\/docker\/registry\nurl=$2\nimageName=$3\ntag=$4\n\n# array of layers\nlayers=($(curl -s -X GET &quot;$url\/v2\/$imageName\/manifests\/$tag&quot; | grep -oP '(?&lt;=blobSum&quot; : &quot;).+(?=&quot;)'))\n\n# download each layer from array\nfor layer in &quot;${layers[@]}&quot;; do\n    echo &quot;Downloading ${layer}&quot;\n    curl -v -X GET &quot;$url\/v2\/$imageName\/blobs\/$layer&quot; --output &quot;$downloadDir\/$layer.tar&quot;\ndone\n\n# find all layers, untar them and remove source .tar files\ncd &quot;$downloadDir&quot; &amp;&amp; find . -name &quot;sha256:*&quot; -exec tar xvf {} ;\nrm sha256:*.tar\nexit 0<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u0441 \u0436\u0435\u043b\u0430\u0435\u043c\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0438\u043c\u0435\u0434\u0436\u0430<\/p>\n<p><\/p>\n<pre><code class=\"bash\">.\/script.sh dirName \u201chttp:\/\/localhost:8081\/link\/to\/docker\/registry\u201d myAwesomeImage 1.0<\/code><\/pre>\n<p><\/p>\n<h4 id=\"chast-2---docker-push\">\u0427\u0430\u0441\u0442\u044c 2 \u2014 docker push<\/h4>\n<p><\/p>\n<p>\u0422\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u0447\u0443\u0442\u044c \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435.<\/p>\n<p><\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u043e\u043f\u044f\u0442\u044c \u0441 <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/registry\/spec\/api\/#pushing-an-image\" rel=\"nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/noindex>. \u0418\u0442\u0430\u043a \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u043b\u0435\u0435\u0440, \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0433\u043e \u0442\u043e\u0436\u0435. \u0412\u0440\u043e\u0434\u0435 \u0437\u0432\u0443\u0447\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u043e.<\/p>\n<p><\/p>\n<p>\u0418\u0437\u0443\u0447\u0438\u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043c\u043e\u0436\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0448\u0430\u0433\u043e\u0432:<\/p>\n<p><\/p>\n<ul>\n<li>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u2014 &quot;POST \/v2\/{repoName}\/blobs\/uploads\/&quot;<\/li>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043b\u0435\u0435\u0440\u0430 (\u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u043d\u0443\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443, \u0442.\u0435. \u043a\u0430\u0436\u0434\u044b\u0439 \u043b\u0435\u0435\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0446\u0435\u043b\u0438\u043a\u043e\u043c) \u2014 &quot;PUT \/v2\/{repoName}\/blobs\/uploads\/{uuid}?digest={digest}<br \/>\nContent-Length: {size of layer}<br \/>\nContent-Type: application\/octet-stream<br \/>\nLayer Binary Data&quot;.<\/li>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430 \u2014 &quot;PUT \/v2\/{repoName}\/manifests\/{reference}&quot;.<\/li>\n<\/ul>\n<p><\/p>\n<p>\u041d\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0443\u043f\u0443\u0449\u0435\u043d \u043e\u0434\u0438\u043d \u0448\u0430\u0433, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. \u0414\u043b\u044f \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0438 \u0434\u043b\u044f \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0439 (chunked) \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043b\u0435\u0435\u0440 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c PATCH \u0437\u0430\u043f\u0440\u043e\u0441:<\/p>\n<p><\/p>\n<p>&quot;PATCH \/v2\/{repoName}\/blobs\/uploads\/{uuid}<br \/>\nContent-Length: {size of chunk}<br \/>\nContent-Type: application\/octet-stream<br \/>\n{Layer Chunk Binary Data}&quot;.<\/p>\n<p><\/p>\n<p>\u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430, \u0442.\u043a. \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043e\u0442\u0432\u0435\u0442\u0430 202 \u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c 4\u0445\u0445.<\/p>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a:<\/p>\n<p><\/p>\n<ul>\n<li>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/li>\n<li>\u041f\u0430\u0442\u0447 \u043b\u0435\u0435\u0440\u0430<\/li>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043b\u0435\u0435\u0440\u0430<\/li>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430<br \/>\n\u041f\u0443\u043d\u043a\u0442\u044b 2 \u0438 3 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c\u0441\u044f \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0435\u0440\u043e\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c.<\/li>\n<\/ul>\n<p><\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043b\u044e\u0431\u043e\u0439 \u0438\u043c\u0435\u0434\u0436. \u042f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c archlinux:latest<\/p>\n<p><\/p>\n<pre><code class=\"bash\">docker pull archlinux<\/code><\/pre>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/3816f2a52086c99cbc7e51f9a23b986f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u0435\u0433\u043e \u0441\u0435\u0431\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0431\u043e\u0440\u0430<\/p>\n<p><\/p>\n<pre><code class=\"bash\">docker save c24fe13d37b9 -o savedArch<\/code><\/pre>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/890944ac99b81827f8c7f8f7d4d271a7.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432 \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e <\/p>\n<p><\/p>\n<pre><code class=\"bash\">tar xvf savedArch<\/code><\/pre>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/da5132879a17d73f9b6aad34117b812f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u043b\u0435\u0435\u0440 \u043b\u0435\u0436\u0438\u0442 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0441\u0442\u0440\u0443\u0442\u043a\u0443\u0440\u0443 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 <\/p>\n<p><\/p>\n<pre><code class=\"bash\">cat manifest.json | json_pp<\/code><\/pre>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/689736e137c6a14fcbe74afbca794002.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u041d\u0435 \u0433\u0443\u0441\u0442\u043e. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a\u043e\u0439 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/registry\/spec\/manifest-v2-2\/#example-image-manifest\" rel=\"nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\" src=\"\/wp-content\/uploads\/2020\/05\/bfbca7ea7f80f28d31ba52161248bdd3.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0441\u0432\u043e\u0439 \u0441 \u0431\u043b\u044d\u043a\u0434\u0436\u0435\u043a\u043e\u043c \u0438 \u043a\u0443\u0440\u0442\u0438\u0437\u0430\u043d\u043a\u0430\u043c\u0438 \u043b\u0435\u0435\u0440\u0430\u043c\u0438 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u043c\u0438.<\/p>\n<p><\/p>\n<p>\u0423 \u043d\u0430\u0441 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043c\u0438\u043d\u043c\u0443\u043c \u043e\u0434\u0438\u043d config \u0444\u0430\u0439\u043b \u0438 \u043c\u0430\u0441\u0441\u0438\u0432 \u043b\u0435\u0435\u0440\u043e\u0432. \u0412\u0435\u0440\u0441\u0438\u044f \u0441\u0445\u0435\u043c\u044b 2 (\u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438), mediaType \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">echo \u2018{\n   &quot;schemaVersion&quot;: 2,\n   &quot;mediaType&quot;: &quot;application\/vnd.docker.distribution.manifest.v2+json&quot;,\n   &quot;config&quot;: {\n      &quot;mediaType&quot;: &quot;application\/vnd.docker.container.image.v1+json&quot;,\n      &quot;size&quot;: config_size,\n      &quot;digest&quot;: &quot;config_hash&quot;\n   },\n   &quot;layers&quot;: [\n      \u2019 &gt; manifest.json<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0435\u0433\u043e \u043d\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d json \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043b\u0435\u0435\u0440\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">{\n         &quot;mediaType&quot;: &quot;application\/vnd.docker.image.rootfs.diff.tar.gzip&quot;,\n         &quot;size&quot;: ${layersSizes[$i]},\n         &quot;digest&quot;: &quot;sha256:${layersNames[$i]}&quot;\n      },<\/code><\/pre>\n<p><\/p>\n<p>\u0435\u0433\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043b\u0435\u0435\u0440\u0430.<\/p>\n<p><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b\u0430 \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 \u0432 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0435 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/p>\n<p><\/p>\n<pre><code class=\"bash\">sed -i &quot;s\/config_size\/$configSize\/g; s\/config_hash\/$configName\/g&quot; $manifestFile<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0435\u0431\u0435 uuid, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b.<\/p>\n<p><\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">#!\/bin\/bash -eux\n\nimageDir=$1\n# url as http:\/\/localhost:8081\/link\/to\/docker\/registry\nurl=$2\nrepoName=$3\ntag=$4\nmanifestFile=$(readlink -f ${imageDir}\/manifestCopy)\nconfigFile=$(readlink -f $(find $imageDir -name &quot;*.json&quot; ! -name &quot;manifest.json&quot;))\n\n# calc layers sha 256 sum, rename them accordingly, and add info about each to manifest file\nfunction prepareLayersForUpload() {\n  info_file=$imageDir\/info\n  # lets calculate layers sha256 and use it as layers names further\n  layersNames=($(find $imageDir -name &quot;layer.tar&quot; -exec shasum -a 256 {} ; | cut -d&quot; &quot; -f1))\n\n  # rename layers according to shasums. !!!Set required amount of fields for cut command!!!\n  # this part definitely can be done easier but i didn't found another way, sry\n  find $imageDir -name &quot;layer.tar&quot; -exec bash -c 'mv {} &quot;$(echo {} | cut -d&quot;\/&quot; -f1,2)\/$(shasum -a 256 {} | cut -d&quot; &quot; -f1)&quot;' ;\n\n  layersSizes=($(find $imageDir -name &quot;*.tar&quot; -exec ls -l {} ; | awk '{print $5}'))\n\n  for i in &quot;${!layersNames[@]}&quot;; do\n    echo &quot;{\n         &quot;mediaType&quot;: &quot;application\/vnd.docker.image.rootfs.diff.tar.gzip&quot;,\n         &quot;size&quot;: ${layersSizes[$i]},\n         &quot;digest&quot;: &quot;sha256:${layersNames[$i]}&quot;\n      },&quot; &gt;&gt; $manifestFile\n  done\n  # remove last ','\n  truncate -s-2 $manifestFile\n  # add closing brakets to keep json consistent\n  printf &quot;nt]n}&quot; &gt;&gt; $manifestFile\n}\n\n# calc config sha 256 sum and add info about it to manifest\nfunction setConfigProps() {\n  configSize=$(ls -l $configFile | awk '{print $5}')\n  configName=$(basename $configFile | cut -d&quot;.&quot; -f1)\n\n  sed -i &quot;s\/config_size\/$configSize\/g; s\/config_hash\/$configName\/g&quot; $manifestFile\n}\n\n#prepare manifest file\nprepareLayersForUpload\nsetConfigProps\ncat $manifestFile\n\n# initiate upload and get uuid\nuuid=$(curl -s -X POST -I &quot;$url\/v2\/$repoName\/blobs\/uploads\/&quot; | grep -oP &quot;(?&lt;=Docker-Upload-Uuid: ).+&quot;)\n\n# patch layers\n# in data-binary we're getting absolute path to layer file\nfor l in &quot;${!layersNames[@]}&quot;; do\n  pathToLayer=$(find $imageDir -name ${layersNames[$l]} -exec readlink -f {} ;)\n    curl -v -X PATCH &quot;$url\/v2\/$repoName\/blobs\/uploads\/$uuid&quot; \n  -H &quot;Content-Length: ${layersSizes[$i]}&quot; \n  -H &quot;Content-Type: application\/octet-stream&quot; \n  --data-binary &quot;@$pathToLayer&quot;\n\n# put layer\n  curl -v -X PUT &quot;$url\/v2\/$repoName\/blobs\/uploads\/$uuid?digest=sha256:${layersNames[$i]}&quot; \n  -H 'Content-Type: application\/octet-stream' \n  -H &quot;Content-Length: ${layersSizes[$i]}&quot; \n  --data-binary &quot;@$pathToLayer&quot;\ndone\n\n# patch and put config after all layers\ncurl -v -X PATCH &quot;$url\/v2\/$repoName\/blobs\/uploads\/$uuid&quot; \n  -H &quot;Content-Length: $configSize&quot; \n  -H &quot;Content-Type: application\/octet-stream&quot; \n  --data-binary &quot;@$configFile&quot;\n\n  curl -v -X PUT &quot;$url\/v2\/$repoName\/blobs\/uploads\/$uuid?digest=sha256:$configName&quot; \n  -H 'Content-Type: application\/octet-stream' \n  -H &quot;Content-Length: $configSize&quot; \n  --data-binary &quot;@$configFile&quot;\n\n# put manifest\ncurl -v -X PUT &quot;$url\/v2\/$repoName\/manifests\/$tag&quot; \n  -H 'Content-Type: application\/vnd.docker.distribution.manifest.v2+json' \n  --data-binary &quot;@$manifestFile&quot;\n\nexit 0\n<\/code><\/pre>\n<p><\/p>\n<p>\u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">.\/uploadImage.sh &quot;~\/path\/to\/saved\/image&quot; &quot;http:\/\/localhost:8081\/link\/to\/docker\/registry&quot; myRepoName 1.0<\/code><\/pre>\n<p><\/p>\n<p>UPD:<br \/>\n\u0427\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435?<br \/>\n\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u043e\u0443 \u0442\u0435\u0441\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0432 blazemeter \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u0447\u0438\u0441\u0442\u044b\u0445 HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<p><\/p>\n<p>\u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u043d\u0430\u043c \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0434\u043b\u044f docker upload \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 150% \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438 \u044d\u0442\u043e\u043c avg response time \u043d\u0430 20-25% \u0431\u044b\u0441\u0442\u0440\u0435\u0435. \u0414\u043b\u044f docker download \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0430 500%, avg response time \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043d\u0438\u0437\u0438\u043b\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 60%.<\/p>\n<p><\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/504314\/\">habr.com<\/a> <\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0423 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e 2 \u043c\u0435\u0448\u043a\u0430 \u0442\u0440\u0430\u0432\u044b, 75 \u0442\u0430\u0431\u043b\u0435\u0442\u043e\u043a \u043c\u0435\u0441\u043a\u0430\u043b\u0438\u043d\u0430 unix environment, docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b docker pull \u0438 docker push \u0431\u0435\u0437 \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. UPD: \u0412\u043e\u043f\u0440\u043e\u0441: \u0414\u043b\u044f \u0447\u0435\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e? \u041e\u0442\u0432\u0435\u0442: \u041d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 (\u041d\u0415 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0431\u0430\u0448\u0430, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445). \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u043b\u043e\u0435\u043a (\u0432 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":83327,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-83326","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0423 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e 2 \u043c\u0435\u0448\u043a\u0430 \u0442\u0440\u0430\u0432\u044b, 75 \u0442\u0430\u0431\u043b\u0435\u0442\u043e\u043a \u043c\u0435\u0441\u043a\u0430\u043b\u0438\u043d\u0430 unix environment, docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b docker pull \u0438 docker push \u0431\u0435\u0437 \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. UPD: \u0412\u043e\u043f\u0440\u043e\u0441: \u0414\u043b\u044f \u0447\u0435\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e? \u041e\u0442\u0432\u0435\u0442: \u041d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 (\u041d\u0415 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0431\u0430\u0448\u0430, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445). \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u043b\u043e\u0435\u043a (\u0432 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0445\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/realizacziya-komand-docker-pull-i-docker-push-bez-docker-klienta-posredstvom-http-zaprosov\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0423 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e 2 \u043c\u0435\u0448\u043a\u0430 \u0442\u0440\u0430\u0432\u044b, 75 \u0442\u0430\u0431\u043b\u0435\u0442\u043e\u043a \u043c\u0435\u0441\u043a\u0430\u043b\u0438\u043d\u0430 unix environment, docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b docker pull \u0438 docker push \u0431\u0435\u0437 \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. UPD: \u0412\u043e\u043f\u0440\u043e\u0441: \u0414\u043b\u044f \u0447\u0435\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e? \u041e\u0442\u0432\u0435\u0442: \u041d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 (\u041d\u0415 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0431\u0430\u0448\u0430, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445). \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u043b\u043e\u0435\u043a (\u0432 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0445\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/realizacziya-komand-docker-pull-i-docker-push-bez-docker-klienta-posredstvom-http-zaprosov\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-05-30T05:42:39+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-30T05:42:39+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Implementimi i komandave docker pull dhe docker push pa klientin docker p\u00ebrmes k\u00ebrkesave HTTP | ProHoster","description":"Kishim 2 \u00e7anta me bar, 75 tableta meskaline, ambientin Unix, depo docker dhe detyra p\u00ebr t\u00eb realizuar komandat docker pull dhe docker push pa klientin docker. UPD: Pyetja: Pse e gjith\u00eb kjo? P\u00ebgjigja: Testimi i ngarkes\u00ebs s\u00eb produktit (JO me mjete bash, skriptet jan\u00eb dh\u00ebn\u00eb p\u00ebr q\u00ebllime arsimore). Vendos\u00ebm t\u00eb mos p\u00ebrdorim klientin docker p\u00ebr t\u00eb reduktuar shtresat shtes\u00eb (n\u00eb m\u00ebnyr\u00eb t\u00eb arsyeshme).","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/realizacziya-komand-docker-pull-i-docker-push-bez-docker-klienta-posredstvom-http-zaprosov","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 docker pull \u0438 docker push \u0431\u0435\u0437 docker \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 | ProHoster","og:description":"\u0423 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e 2 \u043c\u0435\u0448\u043a\u0430 \u0442\u0440\u0430\u0432\u044b, 75 \u0442\u0430\u0431\u043b\u0435\u0442\u043e\u043a \u043c\u0435\u0441\u043a\u0430\u043b\u0438\u043d\u0430 unix environment, docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b docker pull \u0438 docker push \u0431\u0435\u0437 \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. UPD: \u0412\u043e\u043f\u0440\u043e\u0441: \u0414\u043b\u044f \u0447\u0435\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e? \u041e\u0442\u0432\u0435\u0442: \u041d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 (\u041d\u0415 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0431\u0430\u0448\u0430, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445). \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u043b\u043e\u0435\u043a (\u0432 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0445","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/realizacziya-komand-docker-pull-i-docker-push-bez-docker-klienta-posredstvom-http-zaprosov","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-05-30T05:42:39+00:00","article:modified_time":"2020-05-30T05:42:39+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"83326","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 15:20:29","updated":"2022-09-27 21:45:25"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/83326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=83326"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/83326\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/83327"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=83326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=83326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=83326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}