aws / aws/aws-codebuild-docker-images
Can't get file from cp filed in docker run -v <path>:/mount <image> bash -c "cp file /mount"
Open
CodeBuild-local
- Dominant language
- Dockerfile
- Stars
- 1.2k
- Forks
- 971
- Avg merge
- 2h 47m
- Merged PRs (30d)
- 1
Description
When I run `docker run -v :/mount bash -c "cp foo /mount"`
I can't see the copied file in the run of the codebuild locally.
This works, though, in the AWS cloud.
Contributor guide
Research direction
Start by reproducing the exact `docker run -v :/mount bash -c "cp foo /mount"` command in the local CodeBuild environment and check whether the mounted host path contains the copied file. Compare that result with the AWS cloud behavior; done means the file is visible in the local host path as well.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100