Skip to content

Commit 269b1b1

Browse files
authored
Merge pull request #96 from Kumneger0/cligram-wont-access-in-docker
docs: add note on file attachments for Docker usage in cligram [SKIP CI]
2 parents 3d87219 + d423f0a commit 269b1b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ <h3>2. Using Docker</h3>
6464
kumneger/cligram:latest
6565
</code></pre>
6666
<p>This persists your session.</p>
67+
<p><strong>Note on File Attachments:</strong> When using Docker, cligram runs in an isolated environment and cannot directly access files from your host machine. To attach a file, you first need to copy it into the running Docker container using the <code>docker cp</code> command. For example:</p>
68+
<pre><code>docker cp /path/to/your/file.jpg &lt;container_id&gt;:/root/
69+
</code></pre>
70+
<p>Once the file is copied, you can then attach it from within cligram.</p>
6771
</section>
6872
<section id="usage">
6973
<h2>Usage</h2>

0 commit comments

Comments
 (0)