# Copy wrapper file out of docker

**URL:** <https://forum.inductiveautomation.com/t/copy-wrapper-file-out-of-docker/55970>\
**Category:** Ignition\
**Created:** [February 10, 2022, 9:10am UTC](https://forum.inductiveautomation.com/t/copy-wrapper-file-out-of-docker/55970 "2022-02-10T09:10:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![indenkleefj](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/indenkleefj/32/10961_2.png) [@indenkleefj](https://forum.inductiveautomation.com/u/indenkleefj)\
**Post date:** [February 10, 2022, 9:10am UTC](https://forum.inductiveautomation.com/t/copy-wrapper-file-out-of-docker/55970/1 "2022-02-10T09:10:02Z")

</div>

Hi,

I’m trying to get the wrapper file out of a docker container.  
When I use powershell and use the command: docker cp -L ignition:/usr/local/bin/ignition/logs/. C:/  
It copies all the files in the folder to my C drive but the wrapper.log file is changed to .symlink and contains no content.  
The other file (system\_logs.idb) does contain content, can somebody help me with this?

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [February 10, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/copy-wrapper-file-out-of-docker/55970/2 "2022-02-10T14:49:09Z")

</div>

The Docker image emits logs directly to stdout (via the symlink within the container that you observed), which are then saved off by the Docker logging engine. This is done to eliminate duplicate saving/accumulation of text-based logs. You should be able to use the [docker logs](https://docs.docker.com/engine/reference/commandline/logs/) command to save off the logs that Docker has been collecting.

 ![Screenshot 2022-02-10 085433](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/7/97252de36a5f4541e1dd2a63795716f82a8068a8.png)

Here is the command described more generically:

```auto
PS C:\> docker logs container_name > log-file.txt

```

As you might be able to see in the screenshot, `docker logs` also has some other helpful arguments that allow you to save off the last N minutes, which can be rather convenient!
