This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
192.168.99.1 - - [26/Apr/2017:23:46:11] "GET / HTTP/1.1" 200 39 "-" "curl/7.51.0" | |
2017-04-26 23:46:11,001 INFO: 192.168.99.1 - - [26/Apr/2017:23:46:11] "GET / HTTP/1.1" 200 39 "-" "curl/7.51.0" | |
192.168.99.1 - - [26/Apr/2017:23:46:15] "GET /v2/ HTTP/1.1" 404 233 "-" "curl/7.51.0" | |
2017-04-26 23:46:15,315 INFO: 192.168.99.1 - - [26/Apr/2017:23:46:15] "GET /v2/ HTTP/1.1" 404 233 "-" "curl/7.51.0" | |
192.168.99.100 - - [26/Apr/2017:23:47:57] "GET /v2/ HTTP/1.1" 404 233 "-" "docker/1.13.1 go/go1.7.5 git-commit/092cba3 kernel/4.4.47-boot2docker os/linux arch/amd64 UpstreamClient(Docker-Client/1.11.2 \(darwin\))" | |
2017-04-26 23:47:57,130 INFO: 192.168.99.100 - - [26/Apr/2017:23:47:57] "GET /v2/ HTTP/1.1" 404 233 "-" "docker/1.13.1 go/go1.7.5 git-commit/092cba3 kernel/4.4.47-boot2docker os/linux arch/amd64 UpstreamClient(Docker-Client/1.11.2 \(darwin\))" | |
192.168.99.100 - - [26/Apr/2017:23:47:57] "POST /v2/dmage/busybox/blobs/uploads/ HTTP/1.1" 404 233 "-" "docker/1.13.1 go/go1.7.5 git-commit/092cba3 kernel/4.4.47-boot2doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ date | nc -l 0.0.0.0 8080 | |
GET / HTTP/1.1 | |
Host: 127.0.0.1:8080 | |
User-Agent: curl/7.51.0 | |
Accept: */* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### cleanup | |
oc cluster down | |
rm -rf ./secrets | |
### end of cleanup | |
oc cluster up --version=latest --skip-registry-check=true | |
oc login -u system:admin | |
oc project default | |
oc get svc/docker-registry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### cleanup | |
oc cluster down | |
rm -rf ./secrets | |
### end of cleanup | |
oc cluster up --version=latest --skip-registry-check=true | |
oc login -u system:admin | |
oc project default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
scrape_interval: 5s | |
evaluation_interval: 5s | |
scrape_configs: | |
- job_name: 'prometheus' | |
static_configs: | |
- targets: ['localhost:9090'] | |
- job_name: 'cadvisor' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"html" | |
"log" | |
"net/http" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ TOKEN=$(boater token docker.io repository:library/fedora:pull) | |
$ curl -I -L -H "Authorization: Bearer $TOKEN" https://index.docker.io/v2/library/fedora/manifests/latest | |
HTTP/1.1 200 OK | |
Content-Length: 3801 | |
Content-Type: application/vnd.docker.distribution.manifest.v1+prettyjws | |
Docker-Content-Digest: sha256:fba372d3e27f11ae600bf1bcfaf032810c7621303973680898bb5dc2716b47cf | |
Docker-Distribution-Api-Version: registry/2.0 | |
Etag: "sha256:fba372d3e27f11ae600bf1bcfaf032810c7621303973680898bb5dc2716b47cf" | |
Date: Fri, 23 Jun 2017 12:09:23 GMT | |
Strict-Transport-Security: max-age=31536000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Docker version 1.9.1, build a34a1d5 | |
docker@default:~$ docker pull portainer/portainer:windows-amd64-1.13.0 | |
windows-amd64-1.13.0: Pulling from portainer/portainer | |
0c0ecf4a2ce4: Pulling fs layer | |
18f7cc0e8caf: Pulling fs layer | |
ccf219dc065e: Pulling fs layer | |
d2369420dc11: Pulling fs layer | |
9ed96455544c: Pulling fs layer | |
06f378dfa67c: Pulling fs layer | |
d849400361ae: Pulling fs layer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 1 15:01:25.489: INFO: signer build logs: | |
Pulling image openshift/origin ... | |
Pulled 1/7 layers, 15% complete | |
Pulled 2/7 layers, 34% complete | |
Pulled 3/7 layers, 54% complete | |
Pulled 4/7 layers, 72% complete | |
Pulled 5/7 layers, 81% complete | |
Pulled 6/7 layers, 86% complete | |
Pulled 7/12 layers, 61% complete | |
Pulled 8/12 layers, 69% complete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/tls" | |
"crypto/x509" | |
"crypto/x509/pkix" | |
"fmt" | |
"log" |