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
common: &common | |
issue: docker-registry server | |
loglevel: _env:LOGLEVEL:debug | |
storage_redirect: true | |
standalone: true | |
debug: _env:DEBUG:true | |
index_endpoint: _env:INDEX_ENDPOINT | |
disable_token_auth: _env:DISABLE_TOKEN_AUTH | |
privileged_key: _env:PRIVILEGED_KEY | |
search_backend: _env:SEARCH_BACKEND |
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
panic: The chunksize parameter should be a number that is larger than 5*1024*1024 | |
goroutine 1 [running]: | |
github.com/docker/distribution/registry/handlers.NewApp(0x7f3d6a6d3bd0, 0xc2080e8600, 0xc20802b378, 0x3, 0xc20802b3a0, 0x5, 0xc20803dfb0, 0x0, 0x0, 0x0, ...) | |
/go/src/github.com/docker/distribution/registry/handlers/app.go:90 +0x590 | |
main.main() | |
/go/src/github.com/docker/distribution/cmd/registry/main.go:56 +0x590 | |
goroutine 6 [syscall]: | |
os/signal.loop() |
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
version: 0.1 | |
loglevel: debug | |
storage: | |
s3: | |
accesskey: DOCKER | |
secretkey: DIST-TEST | |
region: us-west-2 | |
bucket: mybucket | |
encrypt: true | |
secure: true |
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 build -t distrubution . | |
Sending build context to Docker daemon 5.376 MB | |
Sending build context to Docker daemon | |
Step 0 : FROM golang:1.4 | |
---> aac88aa7c9ab | |
Step 1 : ENV CONFIG_PATH /etc/docker/registry/config.yml | |
---> Using cache | |
---> c3623f914a24 | |
Step 2 : ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution | |
---> Using cache |
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
DEBU[0000] /sbin/iptables, [--wait -t nat -A OUTPUT -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER] | |
DEBU[0000] /sbin/iptables, [--wait -t filter -n -L DOCKER] | |
DEBU[0000] /sbin/iptables, [--wait -t filter -C FORWARD -o docker0 -j DOCKER] | |
INFO[0000] -job init_networkdriver() = OK (0) | |
WARN[0000] Your kernel does not support cgroup swap limit. | |
DEBU[0000] Restarting containers... | |
INFO[0000] docker daemon: 1.6.0 4749651; execdriver: native-0.2; graphdriver: aufs | |
INFO[0000] +job acceptconnections() | |
INFO[0000] -job acceptconnections() = OK (0) | |
INFO[0000] Daemon has completed initialization |
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
2015/04/29 20:03:15 [error] 9#0: *1 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 209.163.206.98, server: , request: "GET / HTTP/1.1", host: "myreg-xyz.com" | |
209.163.206.98 - - [29/Apr/2015:20:03:15 +0000] "GET / HTTP/1.1" 404 169 "-" "curl/7.35.0" "-" | |
2015/04/29 20:03:24 [error] 9#0: *2 upstream sent no valid HTTP/1.0 header while reading response header from upstream, client: 209.163.206.98, server: , request: "GET /v2/ HTTP/1.1", upstream: "http://0.0.0.0:5000/v2/", host: "myreg-xyz.com" | |
209.163.206.98 - - [29/Apr/2015:20:03:24 +0000] "GET /v2/ HTTP/1.1" 009 7 "-" "curl/7.35.0" "-" | |
2015/04/29 20:03:31 [error] 9#0: *4 upstream sent no valid HTTP/1.0 header while reading response header from upstream, client: 209.163.206.98, server: , request: "GET /v2/_ping HTTP/1.1", upstream: "http://0.0.0.0:5000/v2/_ping", host: "myreg-xyz.com" | |
209.163.206.98 - - [29/Apr/2015:20:03:31 +0000] "GET /v2/_ping HTTP/1.1" 009 7 "-" "curl/7.35.0" "-" | |
2015/04/29 20:04:29 [error] 9#0: *6 upstrea |
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 push myreg-xyz.com/registryv2nginx | |
The push refers to a repository [myreg-xyz.com/registryv2nginx] (len: 1) | |
Sending image list | |
FATA[0000] Error: Status 405 trying to push repository registryv2nginx: "<html>\r\n<head><title>405 Not Allowed</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>405 Not Allowed</h1></center>\r\n<hr><center>nginx/1.7.12</center>\r\n</body>\r\n</html>\r\n" |
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
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
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
$> curl -iv http://myreg-xyz.com/v2/ | |
* Hostname was NOT found in DNS cache | |
* Trying 52.13.92.158... | |
* Connected to myreg-xyz.com (52.13.92.158) port 80 (#0) | |
> GET /v2/ HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: myreg-xyz.com | |
> 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
#This is my own interpatation of USA.gov PubSub feed with some tips and code from HarlanH from twitter. | |
#I am interested finding out links about which agency are shared from which part of US. | |
library(stringr) | |
library(plyr) | |
library(ggplot2) | |
library(scrapeR) | |
library(RJSONIO) | |
library(colorspace) | |
library(RColorBrewer) | |
library(maps) |
OlderNewer