Expected behavior
docker tag -f foo_image bar_registry.docker.com/foo_image:latest
Actual behavior
docker tag -f foo_image bar_registry.docker.com/foo_image:latest
unknown shorthand flag: ‘f’ in -f
See ‘docker tag --help’.
Information
Client:
Version: 1.12.0-rc4
API version: 1.24
Go version: go1.6.2
Git commit: e4a0dbc
Built: Wed Jul 13 03:28:51 2016
OS/Arch: darwin/amd64
Experimental: true
Server:
Version: 1.12.0-rc4
API version: 1.24
Go version: go1.6.2
Git commit: e4a0dbc
Built: Wed Jul 13 03:28:51 2016
OS/Arch: linux/amd64
Experimental: true
MacBook Pro (Retina, 13-inch, Early 2015)
3.1 GHz Intel Core i7
16 GB 1867 MHz DDR3
OSX El Capitan
Version 10.11.5 (15F34)
Steps to reproduce the behavior
- Create an image named ‘foo_image’
- docker tag -f foo_image bar_registry.docker.com/foo_image:latest