-
-
Save tonistiigi/6447977af6a5c38bbed8 to your computer and use it in GitHub Desktop.
content addressable configs examples
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
{ | |
"architecture": "amd64", | |
"config": { | |
"Hostname": "13709f13afe1", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": null, | |
"Cmd": [ | |
"sh" | |
], | |
"Image": "9a163e0b8d138ec700b5a5f7e62509012f7eb34b9f86cd3bbeb3d183958114a9", | |
"Volumes": null, | |
"WorkingDir": "", | |
"Entrypoint": null, | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"container": "d23509cd0189de02bef382544ebfab515f29094f3c0e2f161fa7ce09afa8974e", | |
"container_config": { | |
"Hostname": "13709f13afe1", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": null, | |
"Cmd": [ | |
"/bin/sh", | |
"-c", | |
"#(nop) CMD [\"sh\"]" | |
], | |
"Image": "9a163e0b8d138ec700b5a5f7e62509012f7eb34b9f86cd3bbeb3d183958114a9", | |
"Volumes": null, | |
"WorkingDir": "", | |
"Entrypoint": null, | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"created": "2016-02-16T22:59:37.407805421Z", | |
"docker_version": "1.9.1", | |
"history": [ | |
{ | |
"created": "2016-02-16T22:59:36.792440427Z", | |
"created_by": "/bin/sh -c #(nop) ADD file:7cdf7a89f6a004b2e9501317bd72bd863d93a51255d8f83b2ed3058d385a4938 in /" | |
}, | |
{ | |
"created": "2016-02-16T22:59:37.407805421Z", | |
"created_by": "/bin/sh -c #(nop) CMD [\"sh\"]" | |
} | |
], | |
"os": "linux", | |
"rootfs": { | |
"type": "layers", | |
"diff_ids": [ | |
"sha256:16a7ebd378002f1261dfb5e21cc22d9473aaac7e06a1cd4ff4e26cfd75432e8f", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef" | |
] | |
} | |
} |
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
{ | |
"architecture": "amd64", | |
"config": { | |
"Hostname": "4ef519a8cdd7", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"6379/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
"REDIS_VERSION=3.0.7", | |
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-3.0.7.tar.gz", | |
"REDIS_DOWNLOAD_SHA1=e56b4b7e033ae8dbf311f9191cf6fdf3ae974d1c" | |
], | |
"Cmd": [ | |
"redis-server" | |
], | |
"Image": "842fb035cd1fd49211cbb846be044af44115793284e84ea73abfea9279cf69ef", | |
"Volumes": { | |
"/data": {} | |
}, | |
"WorkingDir": "/data", | |
"Entrypoint": [ | |
"/entrypoint.sh" | |
], | |
"OnBuild": [], | |
"Labels": {} | |
}, | |
"container": "df4e3dbaabe5d37cac327de5fe18e07cc2b0dd1ee66dd32bd4dc0c25f6760344", | |
"container_config": { | |
"Hostname": "4ef519a8cdd7", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"6379/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
"REDIS_VERSION=3.0.7", | |
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-3.0.7.tar.gz", | |
"REDIS_DOWNLOAD_SHA1=e56b4b7e033ae8dbf311f9191cf6fdf3ae974d1c" | |
], | |
"Cmd": [ | |
"/bin/sh", | |
"-c", | |
"#(nop) CMD [\"redis-server\"]" | |
], | |
"Image": "842fb035cd1fd49211cbb846be044af44115793284e84ea73abfea9279cf69ef", | |
"Volumes": { | |
"/data": {} | |
}, | |
"WorkingDir": "/data", | |
"Entrypoint": [ | |
"/entrypoint.sh" | |
], | |
"OnBuild": [], | |
"Labels": {} | |
}, | |
"created": "2016-02-17T03:23:09.200150226Z", | |
"docker_version": "1.9.1", | |
"history": [ | |
{ | |
"created": "2016-02-16T21:24:34.920739047Z", | |
"created_by": "/bin/sh -c #(nop) ADD file:6e3677c176d6d774f006ce8f0dcd1e60753af9613eef0e7f707691290d6f6808 in /" | |
}, | |
{ | |
"created": "2016-02-16T21:24:37.640723877Z", | |
"created_by": "/bin/sh -c #(nop) CMD [\"/bin/bash\"]" | |
}, | |
{ | |
"created": "2016-02-17T03:12:37.501710411Z", | |
"created_by": "/bin/sh -c groupadd -r redis && useradd -r -g redis redis" | |
}, | |
{ | |
"created": "2016-02-17T03:13:24.669650252Z", | |
"created_by": "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends \t\tca-certificates \t\tcurl \t&& rm -rf /var/lib/apt/lists/*" | |
}, | |
{ | |
"created": "2016-02-17T03:13:27.309648357Z", | |
"created_by": "/bin/sh -c gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4" | |
}, | |
{ | |
"created": "2016-02-17T03:13:33.749606523Z", | |
"created_by": "/bin/sh -c curl -o /usr/local/bin/gosu -fSL \"https://github.com/tianon/gosu/releases/download/1.7/gosu-$(dpkg --print-architecture)\" \t&& curl -o /usr/local/bin/gosu.asc -fSL \"https://github.com/tianon/gosu/releases/download/1.7/gosu-$(dpkg --print-architecture).asc\" \t&& gpg --verify /usr/local/bin/gosu.asc \t&& rm /usr/local/bin/gosu.asc \t&& chmod +x /usr/local/bin/gosu" | |
}, | |
{ | |
"created": "2016-02-17T03:21:31.223502444Z", | |
"created_by": "/bin/sh -c #(nop) ENV REDIS_VERSION=3.0.7" | |
}, | |
{ | |
"created": "2016-02-17T03:21:31.767483056Z", | |
"created_by": "/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-3.0.7.tar.gz" | |
}, | |
{ | |
"created": "2016-02-17T03:21:32.339572193Z", | |
"created_by": "/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA1=e56b4b7e033ae8dbf311f9191cf6fdf3ae974d1c" | |
}, | |
{ | |
"created": "2016-02-17T03:23:04.345661853Z", | |
"created_by": "/bin/sh -c buildDeps='gcc libc6-dev make' \t&& set -x \t&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \t&& rm -rf /var/lib/apt/lists/* \t&& mkdir -p /usr/src/redis \t&& curl -sSL \"$REDIS_DOWNLOAD_URL\" -o redis.tar.gz \t&& echo \"$REDIS_DOWNLOAD_SHA1 *redis.tar.gz\" | sha1sum -c - \t&& tar -xzf redis.tar.gz -C /usr/src/redis --strip-components=1 \t&& rm redis.tar.gz \t&& make -C /usr/src/redis \t&& make -C /usr/src/redis install \t&& rm -r /usr/src/redis \t&& apt-get purge -y --auto-remove $buildDeps" | |
}, | |
{ | |
"created": "2016-02-17T03:23:05.925652025Z", | |
"created_by": "/bin/sh -c mkdir /data && chown redis:redis /data" | |
}, | |
{ | |
"created": "2016-02-17T03:23:06.483781Z", | |
"created_by": "/bin/sh -c #(nop) VOLUME [/data]" | |
}, | |
{ | |
"created": "2016-02-17T03:23:07.016251243Z", | |
"created_by": "/bin/sh -c #(nop) WORKDIR /data" | |
}, | |
{ | |
"created": "2016-02-17T03:23:07.551357685Z", | |
"created_by": "/bin/sh -c #(nop) COPY file:005b4fdd83cc15dfc9b52be34397df27bb1dc197c3f33850ac7eb4d326b77c65 in /entrypoint.sh" | |
}, | |
{ | |
"created": "2016-02-17T03:23:08.095881469Z", | |
"created_by": "/bin/sh -c #(nop) ENTRYPOINT &{[\"/entrypoint.sh\"]}" | |
}, | |
{ | |
"created": "2016-02-17T03:23:08.647890704Z", | |
"created_by": "/bin/sh -c #(nop) EXPOSE 6379/tcp" | |
}, | |
{ | |
"created": "2016-02-17T03:23:09.200150226Z", | |
"created_by": "/bin/sh -c #(nop) CMD [\"redis-server\"]" | |
} | |
], | |
"os": "linux", | |
"rootfs": { | |
"type": "layers", | |
"diff_ids": [ | |
"sha256:ddef881aeaffef528aa8fecd090a9b68dd4fabb6f653c3c1b689c133b07e38b0", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:c559763f7f4ab3e68e23614093542f54d2e59cbddfe03a4fa17a87cb724772fd", | |
"sha256:507953b0b451a6d155cff718ead5e1b3defcfb3db011aae749aa36b8b19db814", | |
"sha256:9af5156dfdb25756f68a63e84ef413ac45bbe4dbddf4b525dc8841891bbfba96", | |
"sha256:f400268e6d275550d875565fd51218764637bb37a455f9dc3382fad8a8a32f81", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:b72a815019b2d24bd1dc8d1e696b43be5e428b27b7d6c266d8bf726fa31bc659", | |
"sha256:c4a1d0e49c6e7473ac9edff4e87db4253b95e3b84a7a32ee5fc3c68097643b8c", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:7986f971c50fb4973c1dc11811e308e7f86954596de9ea801bec80e6d23a1429", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", | |
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment