Skip to content

Instantly share code, notes, and snippets.

@jdef
Created August 19, 2014 19:35
Show Gist options
  • Save jdef/bdab1acec40338e6ddc1 to your computer and use it in GitHub Desktop.
Save jdef/bdab1acec40338e6ddc1 to your computer and use it in GitHub Desktop.
custom hornetq Dockerfile generates image graph w/ permissions problems when in aufs
root@kubernetes-minion-2:/sys/fs/aufs/si_38b48b06760c5927# for i in $(seq 2 34|sort -nr); do
x=$(cat br$i|cut -f1 -d=);
echo $i, $x;
d=$x/opt/hornetq/hornetq-2.4.0.Final;
test -d $d && ls -ln $d;
done
34, /var/lib/docker/aufs/diff/539c0211cd76cdeaedbecf9f023ef774612e331137ce7ebe4ae1b61088e7edbe
33, /var/lib/docker/aufs/diff/5789778c7ae1a8081daf44de02af9bd5577fd85dadf0c4f79200e12173517023
32, /var/lib/docker/aufs/diff/7855393ba1db05b200c2a11a4a4fa86a0147cdcba5cbc2724b12aae0e4811010
31, /var/lib/docker/aufs/diff/10d060dd97e4f38527f93f84b1237ed1c32c7304b0c12ef6cbb5f8fd73c7ffda
30, /var/lib/docker/aufs/diff/4f05f02975396325eeb6b4ba471431542cc1406014e0abdb298f53904cf472b3
29, /var/lib/docker/aufs/diff/55209dd7b1a6888c8f86d40472c0ba4f766357a185e28ce86d8a2f92702250c8
28, /var/lib/docker/aufs/diff/9d9e798384b5f63fa7180dab495f1d27694f26504bf070ede3792a26a7606fc6
27, /var/lib/docker/aufs/diff/f1c812f69de1eaa4e76c6967c48dde0d92ffcb43599be563a3e8d5d9faba9161
26, /var/lib/docker/aufs/diff/3aa68c4d5096fb069fb0788fbdda638cea2756ac57dca04cae5e866e397dd118
25, /var/lib/docker/aufs/diff/1f28263a1fb052d93a8411ce067f99a0447585e8f1015495d0a5a1eb91bf48f4
24, /var/lib/docker/aufs/diff/9eecdf1dc4a76eb777ee973c8b473d4595bda72391f97e7b47adadb80faddb0c
23, /var/lib/docker/aufs/diff/a8659f96024a07fcc8fddffc9570e9c3754801fbb812a261bdaccfb183223296
22, /var/lib/docker/aufs/diff/55e04feb501349759493719e5208d381e80688ead61f9cd7d40a32a353b54688
21, /var/lib/docker/aufs/diff/b1d4ef01c59131d966dc57bb52098b629a1f42dda02d59a93bd8980ca74fd116
total 28
drwx------ 3 1000 1000 4096 Dec 14 2013 bin
drwx------ 6 1000 1000 4096 Dec 14 2013 config
drwxr-xr-x 5 0 0 4096 Aug 13 21:10 docs
drwx------ 7 1000 1000 4096 Dec 14 2013 examples
drwxr-xr-x 2 0 0 4096 Aug 13 21:10 lib
drwx------ 2 1000 1000 4096 Dec 14 2013 licenses
drwxr-xr-x 2 0 0 4096 Aug 13 21:10 schema
20, /var/lib/docker/aufs/diff/3cc0fd975396bf5ff6b45e395c438da2f71c6f7bf721a82345d3c28b8b644113
total 4
drwx------ 2 1000 1000 4096 Aug 14 20:21 bin
19, /var/lib/docker/aufs/diff/2acd3c78ea71c4f6d19ac6606a1867414073e9596a78a043e0326bdc05fd468f
18, /var/lib/docker/aufs/diff/d94c595c5de2feb3a7c635b772b32475f1cc24a5e4a0763236a7bf8c52bdbec7
17, /var/lib/docker/aufs/diff/6c8bb76d98ab64ce3bef989a2066ebc645ae41ddb67023871fd148df2d1b5e0c
16, /var/lib/docker/aufs/diff/6aa11d54381035216f932f2080e56f622b815bf7e8ca5adfd515eea5e894f90c
15, /var/lib/docker/aufs/diff/cf71b4f74d3e5cef6add11e91cd4c3dca41cf91d82786feb7e2098f2b101361c
14, /var/lib/docker/aufs/diff/e707f15cd7b61b892daf91753cafcaed2e2a6a99adca7caace5777f795ed9b17
total 8
drwxr-xr-x 2 0 0 4096 Aug 14 20:22 data
drwxr-xr-x 2 0 0 4096 Aug 14 20:22 logs
13, /var/lib/docker/aufs/diff/77201ceb8d61bc3e830b23d516563080dba94df93bb7b6f858810bb7c776b0b5
total 8
drwxr-xr-x 2 0 0 4096 Aug 14 20:22 data
drwxr-xr-x 2 0 0 4096 Aug 14 20:22 logs
12, /var/lib/docker/aufs/diff/992c75d53a2ff28646b61913cda8f0397a911970c678e97d4bb23551cf98c2e2
total 4
drwxr-xr-x 3 0 0 4096 Aug 19 17:29 config
11, /var/lib/docker/aufs/diff/9d69290020a110056ac71660a496b7a845028fb2d0194b5fd1fe8473ec74cb3f
total 4
drwxr-xr-x 3 0 0 4096 Aug 19 17:29 config
10, /var/lib/docker/aufs/diff/3ee404bee6e543df3f36666f84d4e8961bb46741339ebba94c51edd67a2dcc40
total 4
drwx------ 2 1000 1000 4096 Aug 19 18:37 bin
9, /var/lib/docker/aufs/diff/ad44cd208acdbe996838c034448831ef877486c4c930d8d706fc5471200a3a8e
total 36
drwx------ 3 253 253 4096 Aug 19 18:37 bin
drwx------ 6 253 253 4096 Dec 14 2013 config
drwxr-xr-x 2 253 253 4096 Aug 14 20:22 data
drwxr-xr-x 5 253 253 4096 Aug 13 21:10 docs
drwx------ 7 253 253 4096 Dec 14 2013 examples
drwxr-xr-x 2 253 253 4096 Aug 13 21:10 lib
drwx------ 2 253 253 4096 Dec 14 2013 licenses
drwxr-xr-x 2 253 253 4096 Aug 14 20:22 logs
drwxr-xr-x 2 253 253 4096 Aug 13 21:10 schema
8, /var/lib/docker/aufs/diff/aa1df5283adcb28a14e2a92e88199af4dca9e61d6038a94d109738a61135e64e
7, /var/lib/docker/aufs/diff/cdedfac4d0ce6b9fd2fee98a80df23f4f306b8f7d8793dff0bb2fba20a491c3d
6, /var/lib/docker/aufs/diff/c79f0b0b370f110ad69e267bc2bf2682414720c679eedb7e1803ef01c23224df
5, /var/lib/docker/aufs/diff/a0280d7b549344c0307ae2194a12daf36af4521023af84461ca854545df0be16
4, /var/lib/docker/aufs/diff/cf3ea267f2bcc7414c6696924b9d6c13b591be722e7f1a3ac2eff51f47b703db
3, /var/lib/docker/aufs/diff/943faf14dadd8dff25ed09726dee6cf8f5e06674a5e3ce9e2a4370830571343e
2, /var/lib/docker/aufs/diff/d5579eadaf21a9eb3885b072871d39b5b7ce490183c1a45ad218b95345fec09a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment