Skip to content

Commit 626d31e

Browse files
2 parents 77c0101 + aa183f9 commit 626d31e

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

docker-for-windows/faqs.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,14 @@ does not work](troubleshoot.md#inotify-on-shared-drives-does-not-work) in
130130
### Are symlinks supported?
131131

132132
Docker for Windows supports symbolic links (symlinks) created within containers.
133-
Symbolic link (symlinks) created within containers and across containers will
134-
resolve.
135-
Symlinks created outside of containers (e.g., on the host) will not work in containers.
133+
Symlinks will resolve within and across containers.
134+
Symlinks created elsewhere (e.g., on the host) will not work.
136135

137-
To learn more about the reasons for this limitation, see this issue on GitHub: [Symlinks don't work as expected](https://github.com/docker/for-win/issues/109#issuecomment-251307391).
136+
To learn more about the reasons for this limitation, see the following discussions:
137+
138+
* GitHub issue: [Symlinks don't work as expected](https://github.com/docker/for-win/issues/109#issuecomment-251307391)
139+
140+
* Docker for Windows forums topic: [Symlinks on shared volumes not supported](https://forums.docker.com/t/symlinks-on-shared-volumes-not-supported/9288)
138141

139142
### How do I add custom CA certificates?
140143

docker-for-windows/troubleshoot.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ Here is an example of how to de-bug this problem, given a scenario where you sha
8989

9090
See also, the related issue on GitHub, [Mounted volumes are empty in the container](https://github.com/docker/for-win/issues/25).
9191

92+
### Understand symlinks limitations
93+
94+
Symlinks will work within and across containers. However, symlinks created outside of containers (for example, on the host) will not work. To learn more, see [Are symlinks supported?](faqs.md#are-symlinks-supported) in the FAQs.
95+
9296
### Avoid unexpected syntax errors, use Unix style line endings for files in containers
9397

9498
Any file destined to run inside a container must use Unix style `\n` line endings. This includes files referenced at the command line for builds and in RUN commands in Docker files.

0 commit comments

Comments
 (0)