moby/docs/reference/api
Josh Hawn 75f6929b44 Fix docker cp Behavior With Symlinks
[pkg/archive] Update archive/copy path handling

  - Remove unused TarOptions.Name field.
  - Add new TarOptions.RebaseNames field.
  - Update some of the logic around path dir/base splitting.
  - Update some of the logic behind archive entry name rebasing.

[api/types] Add LinkTarget field to PathStat

[daemon] Fix stat, archive, extract of symlinks

  These operations *should* resolve symlinks that are in the path but if the
  resource itself is a symlink then it *should not* be resolved. This patch
  puts this logic into a common function `resolvePath` which resolves symlinks
  of the path's dir in scope of the container rootfs but does not resolve the
  final element of the path. Now archive, extract, and stat operations will
  return symlinks if the path is indeed a symlink.

[api/client] Update cp path hanling

[docs/reference/api] Update description of stat

  Add the linkTarget field to the header of the archive endpoint.
  Remove path field.

[integration-cli] Fix/Add cp symlink test cases

  Copying a symlink should do just that: copy the symlink NOT
  copy the target of the symlink. Also, the resulting file from
  the copy should have the name of the symlink NOT the name of
  the target file.

  Copying to a symlink should copy to the symlink target and not
  modify the symlink itself.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-07-30 12:14:28 -07:00
..
_static retooling for hugo 2015-06-15 13:19:38 -07:00
images retooling for hugo 2015-06-15 13:19:38 -07:00
docker-io_api.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_io_accounts_api.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api.md Remove references to boot2docker replace with docker-machine 2015-07-27 18:25:50 -07:00
docker_remote_api_v1.0.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.1.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.2.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.3.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.4.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.5.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.6.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.7.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.8.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.9.md retooling for hugo 2015-06-15 13:19:38 -07:00
docker_remote_api_v1.10.md Fixing seds, deleting old stuff 2015-06-17 21:05:37 -07:00
docker_remote_api_v1.11.md Fixing seds, deleting old stuff 2015-06-17 21:05:37 -07:00
docker_remote_api_v1.12.md Add filter to /images/json docs 2015-07-23 05:29:09 -07:00
docker_remote_api_v1.13.md Add filter to /images/json docs 2015-07-23 05:29:09 -07:00
docker_remote_api_v1.14.md Add filter to /images/json docs 2015-07-23 05:29:09 -07:00
docker_remote_api_v1.15.md Add filter to /images/json docs 2015-07-23 05:29:09 -07:00
docker_remote_api_v1.16.md Add filter to /images/json docs 2015-07-23 05:29:09 -07:00
docker_remote_api_v1.17.md Add filter to /images/json docs 2015-07-23 05:29:09 -07:00
docker_remote_api_v1.18.md Clarify filters option in list containers and list images docs 2015-07-24 11:57:18 +02:00
docker_remote_api_v1.19.md Clarify filters option in list containers and list images docs 2015-07-24 11:57:18 +02:00
docker_remote_api_v1.20.md Fix docker cp Behavior With Symlinks 2015-07-30 12:14:28 -07:00
docker_remote_api_v1.21.md Fix docker cp Behavior With Symlinks 2015-07-30 12:14:28 -07:00
hub_registry_spec.md Fixing seds, deleting old stuff 2015-06-17 21:05:37 -07:00
README.md retooling for hugo 2015-06-15 13:19:38 -07:00
registry_api.md Fixing seds, deleting old stuff 2015-06-17 21:05:37 -07:00
registry_api_client_libraries.md remove unused row-even and row-odd css classes 2015-07-19 21:27:12 +02:00
remote_api_client_libraries.md add gradle-docker-plugin, update docker-client url 2015-07-19 21:28:11 +02:00

This directory holds the authoritative specifications of APIs defined and implemented by Docker. Currently this includes:

  • The remote API by which a docker node can be queried over HTTP
  • The registry API by which a docker node can download and upload images for storage and sharing
  • The index search API by which a docker node can search the public index for images to download
  • The docker.io OAuth and accounts API which 3rd party services can use to access account information