Created
November 10, 2014 22:34
-
-
Save bessarabov/a0fc58f8ae396a381d8d to your computer and use it in GitHub Desktop.
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
[{ | |
"Args": [], | |
"Config": { | |
"AttachStderr": true, | |
"AttachStdin": true, | |
"AttachStdout": true, | |
"Cmd": [ | |
"/bin/bash" | |
], | |
"CpuShares": 0, | |
"Cpuset": "", | |
"Domainname": "", | |
"Entrypoint": null, | |
"Env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"ExposedPorts": null, | |
"Hostname": "d1849bdd9153", | |
"Image": "ubuntu:14.04", | |
"Memory": 0, | |
"MemorySwap": 0, | |
"NetworkDisabled": false, | |
"OnBuild": null, | |
"OpenStdin": true, | |
"PortSpecs": null, | |
"SecurityOpt": null, | |
"StdinOnce": true, | |
"Tty": true, | |
"User": "", | |
"Volumes": { | |
"/e4": {} | |
}, | |
"WorkingDir": "" | |
}, | |
"Created": "2014-11-08T01:51:25.452690666Z", | |
"Driver": "aufs", | |
"ExecDriver": "native-0.2", | |
"HostConfig": { | |
"Binds": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"ContainerIDFile": "", | |
"Devices": [], | |
"Dns": null, | |
"DnsSearch": null, | |
"ExtraHosts": null, | |
"Links": null, | |
"LxcConf": [], | |
"NetworkMode": "bridge", | |
"PortBindings": {}, | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"RestartPolicy": { | |
"MaximumRetryCount": 0, | |
"Name": "" | |
}, | |
"VolumesFrom": null | |
}, | |
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/d1849bdd9153c0661b9fb679767cc1b5e85be4100765e65962426d3837cdef63/hostname", | |
"HostsPath": "/mnt/sda1/var/lib/docker/containers/d1849bdd9153c0661b9fb679767cc1b5e85be4100765e65962426d3837cdef63/hosts", | |
"Id": "d1849bdd9153c0661b9fb679767cc1b5e85be4100765e65962426d3837cdef63", | |
"Image": "5506de2b643be1e6febbf3b8a240760c6843244c41e12aa2f60ccbb7153d17f5", | |
"MountLabel": "", | |
"Name": "/loving_elion", | |
"NetworkSettings": { | |
"Bridge": "docker0", | |
"Gateway": "172.17.42.1", | |
"IPAddress": "172.17.0.18", | |
"IPPrefixLen": 16, | |
"MacAddress": "02:42:ac:11:00:12", | |
"PortMapping": null, | |
"Ports": {} | |
}, | |
"Path": "/bin/bash", | |
"ProcessLabel": "", | |
"ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/d1849bdd9153c0661b9fb679767cc1b5e85be4100765e65962426d3837cdef63/resolv.conf", | |
"State": { | |
"ExitCode": 0, | |
"FinishedAt": "0001-01-01T00:00:00Z", | |
"Paused": false, | |
"Pid": 3260, | |
"Restarting": false, | |
"Running": true, | |
"StartedAt": "2014-11-08T01:51:25.676533884Z" | |
}, | |
"Volumes": { | |
"/e4": "/mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef" | |
}, | |
"VolumesRW": { | |
"/e4": true | |
} | |
} | |
bessarabov@5:~$ docker inspect --format="{{.Volumes}}" d1849bdd9153 | |
map[/e4:/mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef] | |
bessarabov@5:~$ ls /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef | |
ls: /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef: No such file or directory | |
bessarabov@5:~$ boot2docker ssh | |
## . | |
## ## ## == | |
## ## ## ## === | |
/""""""""""""""""\___/ === | |
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~ | |
\______ o __/ | |
\ \ __/ | |
\____\______/ | |
_ _ ____ _ _ | |
| |__ ___ ___ | |_|___ \ __| | ___ ___| | _____ _ __ | |
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__| | |
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__| < __/ | | |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_| | |
boot2docker: 1.3.0 | |
master : a083df4 - Thu Oct 16 17:05:03 UTC 2014 | |
docker@boot2docker:~$ cat /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef | |
cat: can't open '/mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef': Permission denied | |
docker@boot2docker:~$ ls /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef | |
ls: /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef: Permission denied | |
docker@boot2docker:~$ sudo su | |
root@boot2docker:/home/docker# cat /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7 | |
ef/4 | |
from container e4 | |
root@boot2docker:/home/docker# d | |
sh: d: not found | |
root@boot2docker:/home/docker# cd | |
root@boot2docker:~# cat /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef/4 | |
from container e4 | |
docker@boot2docker:~$ cat /mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6 | |
fa83121f07a58a28ff7ef | |
bessarabov@5:~$ docker inspect --format="{{.Volumes}}" 77431816df7d | |
map[/e4:/mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef] | |
bessarabov@5:~$ docker inspect --format="{{.Volumes}}" 77431816df7d | |
map[/e4:/mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef] | |
bessarabov@5:~$ docker inspect 77431816df7d | |
[{ | |
"Args": [], | |
"Config": { | |
"AttachStderr": true, | |
"AttachStdin": true, | |
"AttachStdout": true, | |
"Cmd": [ | |
"/bin/bash" | |
], | |
"CpuShares": 0, | |
"Cpuset": "", | |
"Domainname": "", | |
"Entrypoint": null, | |
"Env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"ExposedPorts": null, | |
"Hostname": "77431816df7d", | |
"Image": "ubuntu:14.04", | |
"Memory": 0, | |
"MemorySwap": 0, | |
"NetworkDisabled": false, | |
"OnBuild": null, | |
"OpenStdin": true, | |
"PortSpecs": null, | |
"SecurityOpt": null, | |
"StdinOnce": true, | |
"Tty": true, | |
"User": "", | |
"Volumes": null, | |
"WorkingDir": "" | |
}, | |
"Created": "2014-11-08T02:01:03.880329502Z", | |
"Driver": "aufs", | |
"ExecDriver": "native-0.2", | |
"HostConfig": { | |
"Binds": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"ContainerIDFile": "", | |
"Devices": [], | |
"Dns": null, | |
"DnsSearch": null, | |
"ExtraHosts": null, | |
"Links": null, | |
"LxcConf": [], | |
"NetworkMode": "bridge", | |
"PortBindings": {}, | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"RestartPolicy": { | |
"MaximumRetryCount": 0, | |
"Name": "" | |
}, | |
"VolumesFrom": [ | |
"d1849bdd9153" | |
] | |
}, | |
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/77431816df7d0f28b650810a44fe8b02916f0638a8067b15e5d136549f847765/hostname", | |
"HostsPath": "/mnt/sda1/var/lib/docker/containers/77431816df7d0f28b650810a44fe8b02916f0638a8067b15e5d136549f847765/hosts", | |
"Id": "77431816df7d0f28b650810a44fe8b02916f0638a8067b15e5d136549f847765", | |
"Image": "5506de2b643be1e6febbf3b8a240760c6843244c41e12aa2f60ccbb7153d17f5", | |
"MountLabel": "", | |
"Name": "/dreamy_pasteur", | |
"NetworkSettings": { | |
"Bridge": "docker0", | |
"Gateway": "172.17.42.1", | |
"IPAddress": "172.17.0.19", | |
"IPPrefixLen": 16, | |
"MacAddress": "02:42:ac:11:00:13", | |
"PortMapping": null, | |
"Ports": {} | |
}, | |
"Path": "/bin/bash", | |
"ProcessLabel": "", | |
"ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/77431816df7d0f28b650810a44fe8b02916f0638a8067b15e5d136549f847765/resolv.conf", | |
"State": { | |
"ExitCode": 0, | |
"FinishedAt": "0001-01-01T00:00:00Z", | |
"Paused": false, | |
"Pid": 3326, | |
"Restarting": false, | |
"Running": true, | |
"StartedAt": "2014-11-08T02:01:04.168539734Z" | |
}, | |
"Volumes": { | |
"/e4": "/mnt/sda1/var/lib/docker/vfs/dir/56ce42d7366c198780ed3aa3dfed0a1c194a89cbfc6fa83121f07a58a28ff7ef" | |
}, | |
"VolumesRW": { | |
"/e4": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment