16 lines
484 B
Markdown
Executable File
16 lines
484 B
Markdown
Executable File
---
|
|
created: '2026-04-05T05:52:38+00:00'
|
|
id: 575efe17-eaf9-4d8e-9307-86a838a271ff
|
|
links: []
|
|
modified: '2026-04-05T05:52:38+00:00'
|
|
summary: This note outlines a method to copy files from the current directory into
|
|
a Docker volume named `my-jenkins-volume` by using a temporary container as an intermediary.
|
|
tags: []
|
|
title: Copy from file system into docker volume
|
|
---
|
|
|
|
```
|
|
docker run -v my-jenkins-volume:/data --name helper busybox true
|
|
docker cp . helper:/data
|
|
docker rm helper
|
|
``` |