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
$ ./bashbrew/bashbrew.sh list --all --uniq | |
aerospike:3.5.15 | |
alpine:edge | |
alpine:3.2 | |
alpine:3.1 | |
alpine:2.7 | |
alpine:2.6 | |
arangodb:2.5.5 | |
arangodb:2.6 | |
buildpack-deps:jessie-curl |
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
[root@dockbeast ~]# dd if=/dev/zero of=2G bs=1M count=2K conv=fsync | |
2048+0 records in | |
2048+0 records out | |
2147483648 bytes (2.1 GB) copied, 2.75216 s, 780 MB/s | |
[root@dockbeast ~]# sync && echo 3 > /proc/sys/vm/drop_caches | |
[root@dockbeast ~]# dd if=2G of=/dev/null bs=1M | |
2048+0 records in | |
2048+0 records out | |
2147483648 bytes (2.1 GB) copied, 2.43674 s, 881 MB/s |
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
root@li425-75:~/lestrade# docker images | |
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE | |
lestrade latest bbc07e775faa About a minute ago 428.1 MB | |
golang 1.3 1ad4daaf0aa1 4 days ago 413.7 MB | |
root@li425-75:~/lestrade# docker run -v /var/lib/docker:/docker -v /var/run/docker.sock:/var/run/docker.sock lestrade | |
2014/08/19 15:29:38 Creating introspection server for a44ff0e446725c5692092b338fb95669e9a60111ce2384eb79c1960b0ee43083 | |
^C2014/08/19 15:29:43 received signal 'interrupt', exiting | |
root@li425-75:~/lestrade# docker run -d -v /var/lib/docker:/docker -v /var/run/docker.sock:/var/run/docker.sock lestrade | |
9abfe520900c0d68106aff65a8754e28ce209ba6f1d4c3911d9f32f3df376169 | |
root@li425-75:~/lestrade# docker ps |
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
FROM buildpack-deps:wheezy | |
ENV GHC_VERSION 7.8.3 | |
ENV CABAL_VERSION 1.18.0.5 | |
RUN apt-get update \ | |
&& apt-get install -y libgmp-dev curl locales llvm clang \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& dpkg-reconfigure locales \ | |
&& locale-gen C.UTF-8 \ |
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
$ ./build.sh | |
c1120d92adde28fbc98906b903e103dff465c640b1db039c67702acd83047083 | |
e31e3f237086e2096775cb289f132e2c8a2956bd1ae7af5065e50e9cc3327299 | |
085561db7f5f0f08f1bfe03731c349e3c237fdf37e5f3dd1a7328609596191cf | |
1b4f0147444ad12e2800fb97ab97899332b55d238fecb68ff74f10d1cfe943bb | |
e3164de76bf74ebff641abeb99a5eea808ae8b1af25e53cea0f296ff6a3ee0a3 | |
0452b5c827a72e17b06934f7aa48bcb14e22329ad81c99407733aa93ef335941 | |
39f268a353416e7231ce6c763c1624ebb1c1441cf69368593e1491a8b0d68c51 | |
a5fb1172102b11098ca0b019df66494fb0ee189d89e6a2038434361bb5984755 | |
69ea1f3c6d15c5de0c86c5649f7940da0c86dbfcb4b9782371f6c9ca4c605691 |
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
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa yaddayadda | |
write_files: | |
- path: /etc/sysconfig/network-scripts/ifcfg-eth0 | |
permissions: 0644 | |
content: | | |
DEVICE=eth0 | |
IPADDR=192.168.1.34 |
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
sudo qemu-system-x86_64 \ | |
-name centos1 \ | |
-cpu host -machine accel=kvm \ | |
-smp 2 -m 1024 \ | |
-net nic,model=virtio,macaddr=52:54:00:00:00:07 \ | |
-net bridge \ | |
-nographic \ | |
-drive if=virtio,file=centos1.img \ | |
-drive if=virtio,readonly,file=centos1.iso |
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 run --name voltest -d mongo | |
7fa0da5e211c78d2375575c75171eb43924be0da75f7e3c5b684969a482d4125 | |
$ docker kill voltest | |
voltest | |
$ docker-volumes list | |
ID | NAMES | PATH | |
+--------------+---------------------------------------------+------------------------------------------------------------------------------------------+ | |
1093ae664eef | voltest:/data/db | /var/lib/docker/vfs/dir/1093ae664eef1fd703d2d94c07de1e7b93b0582c7c1dcefb2b3e90a760e3f9e6 | |
$ docker rm voltest | |
voltest |
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
$ ./scripts/build | |
export GOPATH=/home/peter/code/docker/rancheros/Godeps/_workspace:/home/peter/code/docker/rancheros/gopath | |
# _/home/peter/code/docker/rancheros | |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmount | |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lblkid | |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -luuid | |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lselinux | |
/var/tmp/go-link-Kfsg31/000002.o: In function `_cgo_cea149ee3e00_Cfunc_getpwnam_r': | |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/os/user/lookup_unix.go:75: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking | |
/var/tmp/go-link-Kfsg31/000002.o: In function `mygetpwuid_r': |
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
$ ssh -p 2222 rancher@localhost | |
The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established. | |
ECDSA key fingerprint is 32:60:d5:5e:58:ff:fa:9c:01:6d:53:b8:ca:40:65:e1. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added '[localhost]:2222' (ECDSA) to the list of known hosts. | |
[rancher@rancher ~]$ sudo system-docker logs cloud-init | |
+ MOUNT_POINT=/media/config-2 | |
++ blkid | |
++ grep -- 'LABEL="config-2"' | |
++ cut -f1 -d: |
OlderNewer