-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated -f flag on docker tag #23090
Remove deprecated -f flag on docker tag #23090
Conversation
thanks! can you check the bash/zsh completion scripts as well? not sure if they still contain this flag |
also /cc @dnephin in case your PR needs to be updated |
Thanks @thaJeztah. I checked |
9678774
to
09dfe60
Compare
@thaJeztah |
That's for checking! (Was typing on my phone, so wasn't able to check myself) LGTM |
09dfe60
to
2242a78
Compare
@yongtang docker/engine-api#239 was merged, so you can update the vendored engine-API files |
2242a78
to
61d7436
Compare
Thanks @thaJeztah the pull request has been updated to include the engine-api changes. Let me know if there are any issues. |
61d7436
to
8b2189a
Compare
thanks! LGTM |
LGTM 🐼 |
Moving this to docs-review. Looks like at least /~https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.24.md#tag-an-image-into-a-repository needs some updates |
Thanks @vdemeester. The related docs |
@@ -122,6 +122,7 @@ This section lists each version from latest to oldest. Each listing includes a | |||
* `GET /events` now supports a `reload` event that is emitted when the daemon configuration is reloaded. | |||
* `GET /events` now supports filtering by daemon name or ID. | |||
* `GET /images/json` now supports filters `since` and `before`. | |||
* `POST /images/(name)/tag` now removes deprecated query parameter `force`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking of better wording for this, perhaps;
* `POST /images/(name)/tag` no longer has a `force` query parameter.
One small suggestion, but LGTM otherwise |
3aec367
to
2766118
Compare
Thanks @thaJeztah the pull request has been updated. |
This fix updates engine-api to 6facb3f3c38717b8f618dcedc4c8ce20d1bfc61e. This fix is related to moby#23090. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
The -f flag on docker tag has been deprecated in docker 1.10 and is expected to be removed in docker 1.12. This fix removed the -f flag on docker tag and also updated deprecated.md. NOTE: A separate pull request for engine-api has been opened to cover the related changes. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
…er tag`. This fix updates remote API docs for the removal of deprecated `force` in `docker tag`. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2766118
to
7b08941
Compare
LGTM ping @vdemeester @SvenDowideit PTAL |
LGTM 👼 |
It seems that there's no backwards-compatible way to force-tag images now that works with Docker versions prior to 1.10 (released only 5 months ago). I've opened #24494 for discussion; please consider waiting to drop this flag, as this will make it very difficult to migrate large Docker deployments to 1.12. |
Docker removed a flag that broke Packer. Docker versions >1.12 fail with force set to true. Packer issue tracking it: hashicorp/packer#3771 PR that broke us: moby/moby#23090 Change-Id: I6f544e5d8353e997d2560fe96e7ae545761c2173 Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
The -f flag on docker tag has been deprecated in docker 1.10 and is expected to be removed in docker 1.12.
This fix removed the -f flag on docker tag and also updated deprecated.md.
- Description for the changelog
The deprecated
-f
flag ondocker tag
has been removed.NOTE: A separate pull request for engine-api has been opened to cover the related changes:
docker/engine-api#239
Signed-off-by: Yong Tang yong.tang.github@outlook.com