Just run:
curl -ks https://gist.github.com/vincentwoo/8892428/raw/install.sh | bash -
Just run:
curl -ks https://gist.github.com/vincentwoo/8892428/raw/install.sh | bash -
vwoo@execute:~/coderpad-tty$ sudo grep 42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96 /var/log/upstart/docker.log | |
2014/08/22 16:46:53 POST /containers/42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96/attach?stream=true&stdin=true&stdout=true | |
[4e4b5027] +job container_inspect(42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96) | |
[4e4b5027] -job container_inspect(42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96) = OK (0) | |
[4e4b5027] +job attach(42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96) | |
2014/08/22 16:46:53 POST /containers/42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96/start | |
[4e4b5027] +job start(42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96) | |
2014/08/22 16:46:53 POST /containers/42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96/stop | |
[4e4b5027] +job stop(42dddcc2b60b407812a6d87bb8f16b85ea7457071f2533bed7fc69850cde6e96) | |
[4e4b5027] -job stop(42dddcc2b60b407812a6d87bb8f16b85ea74570 |
+ go test github.com/docker/docker/integration | |
[b09bf5b9] +job init_networkdriver() | |
[b09bf5b9] -job init_networkdriver() = OK (0) | |
[b09bf5b9] +job image_inspect(docker-test-image) | |
No such image: docker-test-image | |
[b09bf5b9] -job image_inspect(docker-test-image) = ERR (1) | |
[b09bf5b9] +job pull(docker-test-image) | |
Pulling repository docker-test-image | |
Pulling image (latest) from docker-test-image | |
Pulling image (latest) from docker-test-image, endpoint: https://registry-1.docker.io/v1/ |
One of the more powerful aspects of JavaScript is how it treats functions as first-order members of the language. Variables can be assigned to functions, you make anonymous functions, and you can even inspect the source code of a function.
// Function-as-variable
var adder = function(x, y) {
return x + y;
};
.gitignore | |
16)config/data | |
17)data/ | |
18).powrc | |
Gemfile | |
139) gem 'factory_girl_rails' | |
140) gem 'faker' | |
Gemfile.lock | |
323) addressable (~> 2.3) | |
app/assets/javascripts/admin.js |
heapdump = require 'heapdump' | |
docker = new (require('dockerode'))(socketPath: '/var/run/docker.sock') | |
createContainer = (cb) -> | |
docker.createContainer { | |
Cmd: '/bin/bash' | |
Image: 'ubuntu:12.04' | |
}, (err, container) -> | |
container.remove {force: true}, cb |
I hereby claim:
To claim this, I am signing this object:
root@2af56b71ca79:~# catchsegv solution | |
Segmentation fault (core dumped) | |
*** Segmentation fault | |
Register dump: | |
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 | |
RDX: 00007fff39c8b0d8 RSI: 00007fff39c8b0c8 RDI: 0000000000000001 | |
RBP: 00007fff39c8afe0 R8 : 00007fad31840e80 R9 : 00007fad31c79560 | |
R10: 00007fff39c8ae70 R11: 00007fad314a2dd0 R12: 00000000004004f0 | |
R13: 00007fff39c8b0c0 R14: 0000000000000000 R15: 0000000000000000 |
nginx_1 | 184.172.13.138 - - [27/Jul/2015:00:15:41 +0000] "GET /v2/ HTTP/1.1" 401 194 "-" "docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.19.0-23-generic os/linux arch/amd64" "-" | |
nginx_1 | 184.172.13.138 - - [27/Jul/2015:00:15:41 +0000] "GET /v2/ HTTP/1.1" 401 194 "-" "docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.19.0-23-generic os/linux arch/amd64" "-" | |
nginx_1 | 184.172.13.138 - - [27/Jul/2015:00:15:41 +0000] "GET /v2/ HTTP/1.1" 401 194 "-" "docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.19.0-23-generic os/linux arch/amd64" "-" | |
registry_1 | time="2015-07-27T00:15:41.153932518Z" level=debug msg="authorizing request" environment=development http.request.host=hub.coderpad.io http.request.id=6536e758-818c-4543-a6b4-b49e00039f66 http.request.method=GET http.request.remoteaddr=184.172.13.138 http.request.uri="/v2/coderpad/tags/list" http.request.useragent="docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.19.0-23-generic os/linux arch/amd64" instance.id=ed549c46-1a42-48b4-a937-10ae9fbe |