@
Herobs #2 通过这个查询到
```
root@HP-Gen8-DSM:/volume1/@docker/btrfs/subvolumes# docker inspect 7b1705b3ff8f
[
{
"Id": "sha256:7b1705b3ff8f3a810336dc31e63793a73aea5874ef7daf38ee168a85cc246642",
"RepoTags": [
"atlassian/confluence-server:6.13.0"
],
"RepoDigests": [
"atlassian/confluence-server@sha256:2d8381cb668b4f49c4f88ae8039d79b9864c48653e4277667a6030cb0bb7a518"
],
"Parent": "",
"Comment": "",
"Created": "2018-12-04T03:18:14.922379922Z",
"Container": "71dc6d675ea4e69dd3e8e24351d3677f3f1f39f947ba4ddb500fc24cf75cbd54",
"ContainerConfig": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8090/tcp": {},
"8091/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"JAVA_VERSION=jdk8u192-b12",
"JAVA_HOME=/opt/java/openjdk",
"JAVA_TOOL_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap",
"RUN_USER=daemon",
"RUN_GROUP=daemon",
"CONFLUENCE_HOME=/var/atlassian/application-data/confluence",
"CONFLUENCE_INSTALL_DIR=/opt/atlassian/confluence"
],
"Cmd": [
"|2",
"CONFLUENCE_VERSION=6.13.0",
"DOWNLOAD_URL=
http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.0.tar.gz",
"/bin/sh",
"-c",
"mkdir -p ${CONFLUENCE_INSTALL_DIR} && curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C \"$CONFLUENCE_INSTALL_DIR\" && chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ && sed -i -e 's/-Xms\\([0-9]\\+[kmg]\\) -Xmx\\([0-9]\\+[kmg]\\)/-Xms\\${JVM_MINIMUM_MEMORY:=\\1} -Xmx\\${JVM_MAXIMUM_MEMORY:=\\2} \\${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/
setenv.sh && sed -i -e 's/port=\"8090\"/port=\"8090\" secure=\"${catalinaConnectorSecure}\" scheme=\"${catalinaConnectorScheme}\" proxyName=\"${catalinaConnectorProxyName}\" proxyPort=\"${catalinaConnectorProxyPort}\"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml && sed -i -e 's/Context path=\"\"/Context path=\"${catalinaContextPath}\"/' ${CONFLUENCE_INSTALL_DIR}/conf/server.xml"
],
"ArgsEscaped": true,
"Image": "sha256:2618ff728742a424e1f68775038e202da647c73ee711afe088204ae336374e36",
"Volumes": {
"/var/atlassian/application-data/confluence": {}
},
"WorkingDir": "/var/atlassian/application-data/confluence",
"Entrypoint": null,
"OnBuild": null,
"Labels": null,
"DDSM": false
},
"DockerVersion": "18.03.1-ee-3",
"Author": "Atlassian Confluence",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8090/tcp": {},
"8091/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"JAVA_VERSION=jdk8u192-b12",
"JAVA_HOME=/opt/java/openjdk",
"JAVA_TOOL_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap",
"RUN_USER=daemon",
"RUN_GROUP=daemon",
"CONFLUENCE_HOME=/var/atlassian/application-data/confluence",
"CONFLUENCE_INSTALL_DIR=/opt/atlassian/confluence"
],
"Cmd": [
"/
entrypoint.sh",
"-fg"
],
"ArgsEscaped": true,
"Image": "sha256:2618ff728742a424e1f68775038e202da647c73ee711afe088204ae336374e36",
"Volumes": {
"/var/atlassian/application-data/confluence": {}
},
"WorkingDir": "/var/atlassian/application-data/confluence",
"Entrypoint": [
"/sbin/tini",
"--"
],
"OnBuild": null,
"Labels": null,
"DDSM": false
},
"Architecture": "amd64",
"Os": "linux",
"Size": 981016296,
"VirtualSize": 981016296,
"GraphDriver": {
"Data": null,
"Name": "btrfs"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:bc7f4b25d0ae3524466891c41cefc7c6833c533e00ba80f8063c68da9a8b65fe",
"sha256:a768c3f3878e96565d2bf0dcf90508261862847b2e7b8fc804a0770c07f0d5d5",
"sha256:ca2991e4676cba899ad9bc6ad3a044cd0816915f9e97a6f2e67b6accbc779ba5",
"sha256:b9b7103af585bd8ae9130de947817be7ce76092aa19cf6d2f9d5290440c645eb",
"sha256:4508b8a3648cf718b2357b9054f11a8167d855fb4025db5bed5e52befd93e905",
"sha256:695236666fc1fcb847e1a02d6be963e676c0435e6f009848efe41b559111e601",
"sha256:84ef2929790df85724c82ff18c2b2e4b85e50703c6ee37915662df37620b9a57",
"sha256:74434a3cc76f134bc962e5e8c80fd3a82b6ec62c350ded6b92ec1aaefbfc7b48",
"sha256:35efee10212a591352472e2b60cfaaeb0e16362aab024df732ac8310c3c421d5",
"sha256:fd61b63656abea55b7b3c35f12035f99f07701285eb8476d778de48f4351ce3d",
"sha256:f77b89f2feccffdc376556e7c74beaabc55f816f94bfa196925fbac184be2feb",
"sha256:1f694c4c9c8a00b1ca5a37c1204b744e893154e7d6781b93b2bfb91a3888321b"
]
}
}
]
```
可是似乎还是没办法知道在 /volume1/@docker/btrfs/subvolumes 中对应的是哪个目录呀。