2014-03-06 聚會手記

Published: Mar 6, 2014 by community

projector+

果凍

這個套件不能執行… https://launchpad.net/ubuntu/trusty/i386/docker.io

Docker on i386 http://mwhiteley.com/linux-containers/2013/08/31/docker-on-i386.html

Building Docker from source on the Raspberry Pi | Byte Outa Life https://byteoutalife.wordpress.com/2013/12/30/building-docker-from-source-on-the-raspberry-pi/

wilber

Functional Scala: Functions as Objects as Functions | brain driven development http://gleichmann.wordpress.com/2010/11/08/functional-scala-functions-as-objects-as-functions/

Play Framework - Build Modern & Scalable Web Apps with Java and Scala http://www.playframework.com/

YiJu

Infinite Scroll http://elviselle.blogspot.tw/2013/09/infinite-scroll-with-jquery-plugin.html

Carl

$ sudo docker commit -run='{"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}'

docker pull bcbcarl/openssh docker pull bcbcarl/archlinux

check Full -run example http://docs.docker.io/en/latest/reference/commandline/cli/#commit

瑞明

Nabble - Free forum & other embeddable apps http://www.nabble.com/

yan

# docker export <container-id> > ubuntu.tar
# cat ubuntu.tar | docker import - my-ubuntu



# apt-get install inotify-tools
# inotifywait -rme modify,attrib,move,close_write,create,delete,delete_self /

http://www.ibm.com/developerworks/linux/library/l-ubuntu-inotify/index.html
http://www.infoq.com/articles/inotify-linux-file-system-event-monitoring

Ubuntu Sources List Generator http://repogen.simplylinux.ch/

$ tr -dc "[:alpha:]" < /dev/urandom | head -c 8



$ pwgen -c -n -1 8



$ ls /usr/share/icons/
$ vi ~/.gtkrc-2.0
gtk-icon-theme-name = "Humanity"

Get packages and dependencies for installing offline | TuxRadar Linux” http://www.tuxradar.com/answers/517

$ apt-get --print-uris --yes install pkgspec | grep ^\' | cut -d\' -f2 >downloads.list
$ wget --input-file myurilist

Mat

http://pearlcrescent.com/products/pagesaver/
firefox 快照擷圖外掛

http://golang.org/pkg/go/build/
go 在 build 時,會看 * +build 的 directive 的參數

http:*www.janoszen.com/2013/01/22/lxc-vs-openvz/

./api/api.go => server 端的,有 api entry commands 跟對應的 handler function ./api/client.go => client 端用的,有使用 cli.call( POST, ### ) 來呼叫 server 端作事

$ gpg --keyserver subkeys.pgp.net --recv-keys $_KEY; gpg -a --export $_KEY | sudo apt-key add -


 


apt-get build-dep docker.io
debuild -S -uc -us

[debug] api.go:972 Calling POST /containers/create 2014/03/06 20:38:22 POST /v1.9/containers/create [/var/lib/docker|79a7489d] +job create() invalid argument[/var/lib/docker|79a7489d] -job create() = ERR (1) [error] api.go:998 Error: create: invalid argument [error] api.go:105 HTTP Error: statusCode=500 create: invalid argument

[debug] api.go:975 Calling POST /containers/create 2014/03/06 21:44:04 POST /v1.9/containers/create [/var/lib/docker|a45f950a] +job create() [error] mount.go:11 [warning]: couldn’t run auplink before unmount: exit status 22 invalid argument[/var/lib/docker|a45f950a] -job create() = ERR (1) [error] api.go:1001 Error: create: invalid argument /var/tmp/portage/app-emulation/docker-9999/work/docker-9999/.gopath/src/github.com/dotcloud/docker/api/api.go:105 (0x80ccfa0) /var/tmp/portage/app-emulation/docker-9999/work/docker-9999/.gopath/src/github.com/dotcloud/docker/api/api.go:1002 (0x80f3be5) /usr/lib/go/src/pkg/net/http/server.go:1220 (0x81f267b) HandlerFunc.ServeHTTP: f(w, r) /var/tmp/portage/app-emulation/docker-9999/work/docker-9999/vcd/gorilla/mux/mux.go:86 (0x8221334) /usr/lib/go/src/pkg/net/http/server.go:1597 (0x81f3d60) serverHandler.ServeHTTP: handler.ServeHTTP(rw, req) /usr/lib/go/src/pkg/net/http/server.go:1167 (0x81f236e) (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) /usr/lib/go/src/pkg/runtime/proc.c:1394 (0x8061d00) goexit: runtime·goexit(void) [error] api.go:108 HTTP Error: statusCode=500 create: invalid argument

413 func postImagesCreate ( 這個 function 可能沒執行到 )

更新, 新找到的斷點在 engine/job.go 中的 job.Run() 函式 49 func (job *Job) Run()

Share