Removing submodule

This commit is contained in:
John Mulhausen
2017-10-02 13:57:29 -07:00
parent 122c798087
commit 9913774d42
136 changed files with 88 additions and 790 deletions

4
.gitmodules vendored
View File

@@ -10,7 +10,3 @@
path = tests/src/gopkg.in/yaml.v2
url = https://github.com/go-yaml/yaml.git
branch = a5b47d31c556af34a302ce5d659e6fea44d90de0
[submodule "samples/library"]
path = samples/library
url = https://github.com/docker-library/docs.git

85
_kb/2336.html Normal file
View File

@@ -0,0 +1,85 @@
---
title: "Querying the results of a garbage collection (GC) job"
id: 2336
draftstate: inactive
deleted: false
layout: docs
permalink: /kb/2336/
originalpath: https://success.docker.com/KBase/Querying_the_results_of_a_garbage_collection_(GC)_job
source: https://success.docker.com/@api/deki/pages/2336/contents
tags:
- tag: "article:howto"
- tag: "stage:reviewed"
---
{% raw %}
<p>
There are times where Docker support need to review the outcome of a previous Garbage Collection job. It can be used to verify orphaned data (to some extent), stale tags, manifests, etc. This article will show you how to query the results of the last completed GC job.
</p>
<div class="mt-section" id="section_1" mt-section-origin="KBase/Querying_the_results_of_a_garbage_collection_(GC)_job">
<span id="Prerequisites">
</span>
<h2 id="1-0">
Prerequisites
</h2>
<p>
Before performing these steps, you must meet the following requirements:
</p>
<ul>
<li>
Review the garbage collection process:
<a class="link-https" href="/registry/garbage-collection/" rel="external nofollow" target="_blank" title="https://docs.docker.com/registry/garbage-collection/">
https://docs.docker.com/registry/garbage-collection/
</a>
</li>
</ul>
</div>
<div class="mt-section" id="section_2" mt-section-origin="KBase/Querying_the_results_of_a_garbage_collection_(GC)_job">
<span id="Steps">
</span>
<h2 id="1-1">
Steps
</h2>
<p>
To effectively query garbage collection data please see the commands below. Be sure to replace the following with the values for your configuration:
</p>
<ul>
<li>
<span class="replaceabletext">
DTR_URL
</span>
="dtr.example.com" (Use your DTR URL)
</li>
<li>
<span class="replaceabletext">
USERNAME
</span>
="username"
</li>
<li>
<span class="replaceabletext">
PASSWORD
</span>
="password"
</li>
<li>
<span class="replaceabletext">
JOB_TYPE
</span>
="job_type" (See link below for list of Job Types)
</li>
</ul>
<p>
List of job types:
<a class="link-https" href="/datacenter/dtr/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-batch-jobs/#job-types" rel="external nofollow" target="_blank" title="https://docs.docker.com/datacenter/dtr/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-batch-jobs/#job-types">
https://docs.docker.com/datacenter/d...obs/#job-types
</a>
</p>
<pre>
### job logs
# get last job details
curl -ks -X GET --header "Accept: application/json" -u ${<span class="replaceabletext">USERNAME</span>}:${<span class="replaceabletext">PASSWORD</span>} "https://${<span class="replaceabletext">DTR_URL</span>}/api/v0/jobs?action=${<span class="replaceabletext">JOB_TYPE</span>}&amp;worker=any&amp;running=any&amp;start=0" | jq -r .jobs[0]
# get job job id from the last ${JOB_TYPE} job and send that to get the job logs curl -ks -X GET --header "Accept: application/json" -u ${USERNAME}:${PASSWORD} "https://${DTR_URL}/api/v0/jobs/$(curl -ks -X GET --header "Accept: application/json" -u ${<span class="replaceabletext">USERNAME</span>}:${<span class="replaceabletext">PASSWORD</span>} "https://${DTR_URL}/api/v0/jobs?action=${<span class="replaceabletext">JOB_TYPE</span>}&amp;worker=any&amp;running=any&amp;start=0" | jq -r .jobs[0].id)/logs" | jq -r .[].Data
</pre>
</div>
{% endraw %}

View File

@@ -1,6 +0,0 @@
---
title: Adminer
keywords: library, sample, Adminer
layout: library
repo: adminer
---

View File

@@ -1,6 +0,0 @@
---
title: Aerospike
keywords: library, sample, Aerospike
layout: library
repo: aerospike
---

View File

@@ -1,6 +0,0 @@
---
title: Alpine
keywords: library, sample, Alpine
layout: library
repo: alpine
---

View File

@@ -1,6 +0,0 @@
---
title: Amazon Linux
keywords: library, sample, Amazon Linux
layout: library
repo: amazonlinux
---

View File

@@ -1,6 +0,0 @@
---
title: ArangoDB
keywords: library, sample, ArangoDB
layout: library
repo: arangodb
---

View File

@@ -1,6 +0,0 @@
---
title: Backdrop
keywords: library, sample, Backdrop
layout: library
repo: backdrop
---

View File

@@ -1,6 +0,0 @@
---
title: Bash
keywords: library, sample, Bash
layout: library
repo: bash
---

View File

@@ -1,6 +0,0 @@
---
title: Bonita
keywords: library, sample, Bonita
layout: library
repo: bonita
---

View File

@@ -1,6 +0,0 @@
---
title: buildpack-deps
keywords: library, sample, buildpack-deps
layout: library
repo: buildpack-deps
---

View File

@@ -1,6 +0,0 @@
---
title: BusyBox
keywords: library, sample, BusyBox
layout: library
repo: busybox
---

View File

@@ -1,6 +0,0 @@
---
title: Cassandra
keywords: library, sample, Cassandra
layout: library
repo: cassandra
---

View File

@@ -1,6 +0,0 @@
---
title: Celery
keywords: library, sample, Celery
layout: library
repo: celery
---

View File

@@ -1,6 +0,0 @@
---
title: CentOS
keywords: library, sample, CentOS
layout: library
repo: centos
---

View File

@@ -1,6 +0,0 @@
---
title: Chronograf
keywords: library, sample, Chronograf
layout: library
repo: chronograf
---

View File

@@ -1,6 +0,0 @@
---
title: CirrOS
keywords: library, sample, CirrOS
layout: library
repo: cirros
---

View File

@@ -1,6 +0,0 @@
---
title: Clear Linux
keywords: library, sample, Clear Linux
layout: library
repo: clearlinux
---

View File

@@ -1,6 +0,0 @@
---
title: Clojure
keywords: library, sample, Clojure
layout: library
repo: clojure
---

View File

@@ -1,6 +0,0 @@
---
title: Composer
keywords: library, sample, Composer
layout: library
repo: composer
---

View File

@@ -1,6 +0,0 @@
---
title: Consul
keywords: library, sample, Consul
layout: library
repo: consul
---

View File

@@ -1,6 +0,0 @@
---
title: Convertigo
keywords: library, sample, Convertigo
layout: library
repo: convertigo
---

View File

@@ -1,6 +0,0 @@
---
title: Couchbase
keywords: library, sample, Couchbase
layout: library
repo: couchbase
---

View File

@@ -1,6 +0,0 @@
---
title: CouchDB
keywords: library, sample, CouchDB
layout: library
repo: couchdb
---

View File

@@ -1,6 +0,0 @@
---
title: Crate
keywords: library, sample, Crate
layout: library
repo: crate
---

View File

@@ -1,6 +0,0 @@
---
title: CRUX
keywords: library, sample, CRUX
layout: library
repo: crux
---

View File

@@ -1,6 +0,0 @@
---
title: Debian
keywords: library, sample, Debian
layout: library
repo: debian
---

View File

@@ -1,6 +0,0 @@
---
title: Django
keywords: library, sample, Django
layout: library
repo: django
---

View File

@@ -1,6 +0,0 @@
---
title: Docker in Docker
keywords: library, sample, Docker in Docker
layout: library
repo: docker
---

View File

@@ -1,6 +0,0 @@
---
title: Drupal
keywords: library, sample, Drupal
layout: library
repo: drupal
---

View File

@@ -1,6 +0,0 @@
---
title: Eclipse Mosquitto
keywords: library, sample, Eclipse Mosquitto
layout: library
repo: eclipse-mosquitto
---

View File

@@ -1,6 +0,0 @@
---
title: Eggdrop
keywords: library, sample, Eggdrop
layout: library
repo: eggdrop
---

View File

@@ -1,6 +0,0 @@
---
title: Elasticsearch
keywords: library, sample, Elasticsearch
layout: library
repo: elasticsearch
---

View File

@@ -1,6 +0,0 @@
---
title: Elixir
keywords: library, sample, Elixir
layout: library
repo: elixir
---

View File

@@ -1,6 +0,0 @@
---
title: Erlang
keywords: library, sample, Erlang
layout: library
repo: erlang
---

View File

@@ -1,6 +0,0 @@
---
title: Fedora
keywords: library, sample, Fedora
layout: library
repo: fedora
---

View File

@@ -1,6 +0,0 @@
---
title: F#
keywords: library, sample, F#
layout: library
repo: fsharp
---

View File

@@ -1,6 +0,0 @@
---
title: Gazebo
keywords: library, sample, Gazebo
layout: library
repo: gazebo
---

View File

@@ -1,6 +0,0 @@
---
title: The GNU Compiler Collection (GCC)
keywords: library, sample, GNU Compiler Collection, GCC
layout: library
repo: gcc
---

View File

@@ -1,6 +0,0 @@
---
title: GeoNetwork
keywords: library, sample, GeoNetwork
layout: library
repo: geonetwork
---

View File

@@ -1,6 +0,0 @@
---
title: Ghost
keywords: library, sample, Ghost
layout: library
repo: ghost
---

View File

@@ -1,6 +0,0 @@
---
title: Go (a.k.a., Golang)
keywords: library, sample, Go, Golang
layout: library
repo: golang
---

View File

@@ -1,6 +0,0 @@
---
title: Gradle
keywords: library, sample, Gradle
layout: library
repo: gradle
---

View File

@@ -1,6 +0,0 @@
---
title: Groovy
keywords: library, sample, Groovy
layout: library
repo: groovy
---

View File

@@ -1,6 +0,0 @@
---
title: HAProxy
keywords: library, sample, HAProxy
layout: library
repo: haproxy
---

View File

@@ -1,6 +0,0 @@
---
title: Haskell
keywords: library, sample, Haskell
layout: library
repo: haskell
---

View File

@@ -1,6 +0,0 @@
---
title: Haxe
keywords: library, sample, Haxe
layout: library
repo: haxe
---

View File

@@ -1,6 +0,0 @@
---
title: Apache httpd
keywords: library, sample, httpd, Apache
layout: library
repo: httpd
---

View File

@@ -1,6 +0,0 @@
---
title: Hy (a.k.a., Hylang)
keywords: library, sample, Hy, Hylang
layout: library
repo: hylang
---

View File

@@ -1,6 +0,0 @@
---
title: IBM® SDK, Java™ Technology Edition
keywords: library, sample, IBM Java, Java, IBM
layout: library
repo: ibmjava
---

View File

@@ -1,6 +0,0 @@
---
title: InfluxDB
keywords: library, sample, InfluxDB
layout: library
repo: influxdb
---

View File

@@ -1,6 +0,0 @@
---
title: io.js
keywords: library, sample, io.js, npm
layout: library
repo: iojs
---

View File

@@ -1,6 +0,0 @@
---
title: Irssi
keywords: library, sample, Irssi
layout: library
repo: irssi
---

View File

@@ -1,6 +0,0 @@
---
title: Java
keywords: library, sample, Java
layout: library
repo: java
---

View File

@@ -1,6 +0,0 @@
---
title: Jenkins
keywords: library, sample, Jenkins
layout: library
repo: jenkins
---

View File

@@ -1,6 +0,0 @@
---
title: Jetty
keywords: library, sample, Java, Jetty
layout: library
repo: jetty
---

View File

@@ -1,6 +0,0 @@
---
title: Joomla
keywords: library, sample, Joomla
layout: library
repo: joomla
---

View File

@@ -1,6 +0,0 @@
---
title: JRuby
keywords: library, sample, JRuby
layout: library
repo: jruby
---

View File

@@ -1,6 +0,0 @@
---
title: Julia
keywords: library, sample, Julia
layout: library
repo: julia
---

View File

@@ -1,6 +0,0 @@
---
title: Kaazing Gateway
keywords: library, sample, Kaazing Gateway
layout: library
repo: kaazing-gateway
---

View File

@@ -1,6 +0,0 @@
---
title: Kapacitor
keywords: library, sample, Kapacitor
layout: library
repo: kapacitor
---

View File

@@ -1,6 +0,0 @@
---
title: Kibana
keywords: library, sample, Kibana, Elasticsearch
layout: library
repo: kibana
---

View File

@@ -1,6 +0,0 @@
---
title: Known
keywords: library, sample, Known
layout: library
repo: known
---

View File

@@ -1,6 +0,0 @@
---
title: Kong
keywords: library, sample, Kong
layout: library
repo: kong
---

View File

@@ -1,6 +0,0 @@
---
title: Lightstreamer
keywords: library, sample, Lightstreamer
layout: library
repo: lightstreamer
---

View File

@@ -1,6 +0,0 @@
---
title: Logstash
keywords: library, sample, Logstash
layout: library
repo: logstash
---

View File

@@ -1,6 +0,0 @@
---
title: Mageia
keywords: library, sample, Mageia
layout: library
repo: mageia
---

View File

@@ -1,6 +0,0 @@
---
title: MariaDB
keywords: library, sample, MariaDB
layout: library
repo: mariadb
---

View File

@@ -1,6 +0,0 @@
---
title: Maven
keywords: library, sample, Maven
layout: library
repo: maven
---

View File

@@ -1,6 +0,0 @@
---
title: Memcached
keywords: library, sample, Memcached
layout: library
repo: memcached
---

View File

@@ -1,6 +0,0 @@
---
title: mongo-express
keywords: library, sample, mongo-express
layout: library
repo: mongo-express
---

View File

@@ -1,6 +0,0 @@
---
title: MongoDB
keywords: library, sample, MongoDB
layout: library
repo: mongo
---

View File

@@ -1,6 +0,0 @@
---
title: Mono
keywords: library, sample, Mono
layout: library
repo: mono
---

View File

@@ -1,6 +0,0 @@
---
title: MySQL
keywords: library, sample, MySQL
layout: library
repo: mysql
---

View File

@@ -1,6 +0,0 @@
---
title: nats-streaming
keywords: library, sample, nats-streaming
layout: library
repo: nats-streaming
---

View File

@@ -1,6 +0,0 @@
---
title: nats
keywords: library, sample, nats
layout: library
repo: nats
---

View File

@@ -1,6 +0,0 @@
---
title: Neo4j
keywords: library, sample, Neo4j
layout: library
repo: neo4j
---

View File

@@ -1,6 +0,0 @@
---
title: NeuroDebian
keywords: library, sample, NeuroDebian
layout: library
repo: neurodebian
---

View File

@@ -1,6 +0,0 @@
---
title: Nextcloud
keywords: library, sample, Nextcloud
layout: library
repo: nextcloud
---

View File

@@ -1,6 +0,0 @@
---
title: Nginx
keywords: library, sample, Nginx
layout: library
repo: nginx
---

View File

@@ -1,6 +0,0 @@
---
title: Node.js
keywords: library, sample, Node.js
layout: library
repo: node
---

View File

@@ -1,6 +0,0 @@
---
title: Notary
keywords: library, sample, Notary
layout: library
repo: notary
---

View File

@@ -1,6 +0,0 @@
---
title: Nuxeo
keywords: library, sample, Nuxeo
layout: library
repo: nuxeo
---

View File

@@ -1,6 +0,0 @@
---
title: Odoo
keywords: library, sample, Odoo
layout: library
repo: odoo
---

View File

@@ -1,6 +0,0 @@
---
title: OpenJDK
keywords: library, sample, OpenJDK
layout: library
repo: openjdk
---

View File

@@ -1,6 +0,0 @@
---
title: openSUSE
keywords: library, sample, openSUSE
layout: library
repo: opensuse
---

View File

@@ -1,6 +0,0 @@
---
title: Oracle Linux
keywords: library, sample, Oracle Linux
layout: library
repo: oraclelinux
---

View File

@@ -1,6 +0,0 @@
---
title: OrientDB
keywords: library, sample, OrientDB
layout: library
repo: orientdb
---

View File

@@ -1,6 +0,0 @@
---
title: ownCloud
keywords: library, sample, ownCloud
layout: library
repo: owncloud
---

View File

@@ -1,6 +0,0 @@
---
title: Percona
keywords: library, sample, Percona
layout: library
repo: percona
---

View File

@@ -1,6 +0,0 @@
---
title: Perl
keywords: library, sample, Perl
layout: library
repo: perl
---

View File

@@ -1,6 +0,0 @@
---
title: Photon
keywords: library, sample, Photon
layout: library
repo: photon
---

View File

@@ -1,6 +0,0 @@
---
title: Zend Server
keywords: library, sample, Zend Server
layout: library
repo: php-zendserver
---

View File

@@ -1,6 +0,0 @@
---
title: PHP
keywords: library, sample, PHP
layout: library
repo: php
---

View File

@@ -1,6 +0,0 @@
---
title: Piwik
keywords: library, sample, Piwik
layout: library
repo: piwik
---

View File

@@ -1,6 +0,0 @@
---
title: Plone
keywords: library, sample, Plone
layout: library
repo: plone
---

View File

@@ -1,6 +0,0 @@
---
title: PostgreSQL
keywords: library, sample, PostgreSQL
layout: library
repo: postgres
---

View File

@@ -1,6 +0,0 @@
---
title: PyPy
keywords: library, sample, PyPy, Python
layout: library
repo: pypy
---

View File

@@ -1,6 +0,0 @@
---
title: Python
keywords: library, sample, Python
layout: library
repo: python
---

View File

@@ -1,6 +0,0 @@
---
title: R (a.k.a., Rlang)
keywords: library, sample, R, Rlang
layout: library
repo: r-base
---

Some files were not shown because too many files have changed in this diff Show More