-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
area/builderBuildBuildkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.
Description
Description
Trying to ADD a tar.gz file with the new --chown flag. The flag was ignored.
Steps to reproduce the issue:
- Write a Docker file with an ADD command of an archive tar.gz file
- Build the image
- Run the image with
--entrypoint=/bin/sh - cd to the working directory, and ls -la
Describe the results you received:
The tar.gz file was extracted, as expected. But file and directoryies the ownership was wrong
Describe the results you expected:
The ownership should changed recursively, according to the --chown flag
Output of docker version:
Docker version 17.09.0-ce, build afdb6d4
Output of docker info:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 70
Server Version: 17.09.0-ce
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 118
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.49-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.952GiB
Name: moby
ID: VPWK:YWD2:UCME:FA7F:RKXW:WBM6:MMCZ:RCEL:25WG:TBO3:U2L2:MWGV
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 19
Goroutines: 31
System Time: 2017-11-16T11:54:10.072089Z
EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false```
**Additional environment details (AWS, VirtualBox, physical, etc.):**
Running on MacOS 11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/builderBuildBuildkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.