Skip to content

Instantly share code, notes, and snippets.

View tianon's full-sized avatar
♥️
TIANON

Tianon Gravi tianon

♥️
TIANON
  • @docker, but thoughts, comments, commits generally his own ("do not represent the views of Docker, Inc" etc etc)
  • Las Vegas, NV
  • 20:31 (UTC -07:00)
  • X @tianon
View GitHub Profile
@tianon
tianon / Dockerfile
Last active December 29, 2015 11:49
setting environment variables from ENTRYPOINT
FROM jpetazzo/busybox
ADD entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["sh", "-c", "echo $SOME_TEST_VARIABLE"]
@tianon
tianon / proc-1-cgroup
Created October 20, 2013 03:15
Docker on Debian Stable
1:perf_event,blkio,net_cls,freezer,devices,cpuacct,cpu,cpuset:/
@tianon
tianon / amd-8core-workstation.txt
Last active December 24, 2015 01:19
"docker run -i -t -privileged docker ./hack/make.sh test" against f435970 (0.6.3-dev) This was all done on Gentoo, of course.
$ docker run -i -t -privileged docker ./hack/make.sh test
/proc/self/fd /go/src/github.com/dotcloud/docker
/go/src/github.com/dotcloud/docker
---> Making bundle: test (in bundles/0.6.3-dev/test)
Fri Sep 27 01:26:51 UTC 2013
++ cd .
++ go test -v -ldflags '-X main.GITCOMMIT f435970 -X main.VERSION 0.6.3-dev -d -w'
warning: building out-of-date packages:
path/filepath
io/ioutil
$ docker images tianon/debian
REPOSITORY TAG ID CREATED SIZE
tianon/debian sid 48c561d00c03 5 weeks ago 159.4 MB (virtual 159.4 MB)
tianon/debian jessie c7a9f3b2159e 5 weeks ago 160.6 MB (virtual 160.6 MB)
tianon/debian 7.1 617698bd3cd3 5 weeks ago 157.5 MB (virtual 157.5 MB)
tianon/debian latest 08c9d0ea8240 9 weeks ago 157.5 MB (virtual 157.5 MB)
tianon/debian wheezy 08c9d0ea8240 9 weeks ago 157.5 MB (virtual 157.5 MB)
tianon/debian 7.0 a1390ca6935c 3 months ago 157.4 MB (virtual 157.4 MB)
tianon/debian 6.0.7 764a25351209 4 months ago 149.5 MB (virtual 149.5 MB)
tianon/debian squeeze 764a25351209 4 months ago 149.5 MB (virtual 149.5 MB)
@tianon
tianon / README.md
Last active December 18, 2015 12:49 — forked from mbostock/.block

This grouped bar chart is constructed from a CSV file storing the populations of different states by age group. The chart employs conventional margins and a number of D3 features:

@tianon
tianon / 2b0901be48b8760387d5ecbd61cfd62838bd04458d219fc5409cb010736089a3-VERSION
Last active December 16, 2015 18:52
broken "docker load" with content addressability
1.0
@tianon
tianon / README.md
Last active December 11, 2015 14:19 — forked from mbostock/.block
@tianon
tianon / Dockerfile
Last active September 7, 2015 19:13
backport-criu; usage: ./build.sh
FROM debian:sid
RUN apt-get update && apt-get install -y --no-install-recommends \
debian-keyring \
devscripts \
dpkg-dev \
wget \
&& rm -rf /var/lib/apt/lists/*
ENV DEBFULLNAME Docker
diff --git a/hack/.vendor-helpers.sh b/hack/.vendor-helpers.sh
index 1d4674b..54ce6bb 100755
--- a/hack/.vendor-helpers.sh
+++ b/hack/.vendor-helpers.sh
@@ -98,7 +98,10 @@ clean() {
unset IFS
echo -n 'pruning unused packages, '
- findArgs=()
+ findArgs=(
@tianon
tianon / Dockerfile
Created June 29, 2015 22:47
Dockerfile heredoc idea
FROM debian:jessie
RUN <<EOI
set -e
apt-get update
apt-get install -y \
package \
package \
package
EOI