# Docker :: Getting error in 11- Sharing the Source Code with a Container

**URL:** <https://forum.codewithmosh.com/t/docker-getting-error-in-11-sharing-the-source-code-with-a-container/18296>\
**Category:** Docker\
**Created:** [February 18, 2023, 10:51am UTC](https://forum.codewithmosh.com/t/docker-getting-error-in-11-sharing-the-source-code-with-a-container/18296 "2023-02-18T10:51:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashdani27](https://avatars.discourse-cdn.com/v4/letter/y/b77776/32.png) [@yashdani27](https://forum.codewithmosh.com/u/yashdani27)\
**Post date:** [February 18, 2023, 10:51am UTC](https://forum.codewithmosh.com/t/docker-getting-error-in-11-sharing-the-source-code-with-a-container/18296/1 "2023-02-18T10:51:22Z")

</div>

![Docker](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/c/c489f6ad4148b0cc13948dc0f5dce4d0286f75b9.png)

---

<div class="post-metadata">

**Author:** ![yashdani27](https://avatars.discourse-cdn.com/v4/letter/y/b77776/32.png) [@yashdani27](https://forum.codewithmosh.com/u/yashdani27)\
**Post date:** [February 18, 2023, 10:54am UTC](https://forum.codewithmosh.com/t/docker-getting-error-in-11-sharing-the-source-code-with-a-container/18296/2 "2023-02-18T10:54:41Z")

</div>

SOLVED!!

I had to use ${pwd} since I’m using Windows Powershell.  
Got solution here: [stackoverflow](https://stackoverflow.com/questions/45682010/docker-invalid-reference-format)
