Closed
Description
Description
When using COPY --chown=user ...
you get the following error:
"Unknown flag: chown"
Steps to reproduce the issue:
- Using docker version 17.11.0-ce
- Have a Dockerfile that contains
COPY --chown=user ...
- docker build
- ???
- Profit!
Describe the results you received:
I got the error: Unknown flag: chown
Describe the results you expected:
I expected no error, I expected it to recognise the flag.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version
:
$ docker version
Client:
Version: 17.11.0-ce
API version: 1.23
Go version: go1.9.2
Git commit: 1caf76c
Built: unknown-buildtime
OS/Arch: darwin/amd64
Server:
Version: 1.12.6
API version: 1.24 (minimum version )
Go version: go1.6.4
Git commit: 78d1802
Built: Wed Jan 11 00:23:16 2017
OS/Arch: linux/amd64
Experimental: false
Output of docker info
:
$ docker info
Containers: 63
Running: 29
Paused: 0
Stopped: 34
Images: 291
Server Version: 1.12.6
Storage Driver: overlay
Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null host bridge overlay
Log:
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary:
containerd version:
runc version:
init version:
Security Options:
seccomp
Kernel Version: 4.9.13
Operating System: Buildroot 2017.02
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.954GiB
Name: minikube
ID: WPRL:VAL2:NMPG:VFQ4:HD5D:Y3QN:H5QE:C2M2:KNUH:X3QY:OLKG:H6XO
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: XXX
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox
Experimental: false
Insecure Registries:
10.0.0.0/24
127.0.0.0/8
Live Restore Enabled: false
Additional environment details (AWS, VirtualBox, physical, etc.):