Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Create docker-upgrade-deprecated-images.md#1267

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
NimRegev merged 1 commit intomasterfromclassic-dind-deprecation-kb
Apr 6, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions_docs/kb/articles/docker-upgrade-deprecated-images.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
---
title: Upgrade Docker images
description:
group: kb
sub-group: articles
toc: true
kb: true
ht: false
common: false
categories: [Pipelines]
support-reviewed: 2025-04-07 ZT
---

This article describes how to upgrade deprecated Docker image formats and manifests to the latest supported versions.

Docker issued a deprecation notice for older versions of images:
{{site.data.callout.callout_tip}}
**[DEPRECATION NOTICE]** Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of <image-name> to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/
{{site.data.callout.end}}

If you see this deprecation notice in the logs of your pipeline builds, you must upgrade older versions of image formats and manifests to the new versions as required.

For more information, see Docker's offical article on [Pushing and pulling with image manifest v2 schema 1](https://docs.docker.com/engine/deprecated/#pushing-and-pulling-with-image-manifest-v2-schema-1){:target="\_blank"}.




## How to

Upgrading the image manifest or formats is as simple as pulling the image via modern Docker and pushing it back to the registry.

* Use the following step in your Codefresh pipelines:

```yaml
version: "1.0"

steps:
push:
title: "Re-pushing deprecated image"
type: push
candidate: <source-image-name>
registry: <desired-registry>
tag: <target-image-tag>
image_name: <target-image-name>

# Example:
# push:
# title: "Re-pushing deprecated image"
# type: push
# candidate: docker/whalesay:latest
# registry: docker
# tag: new-manifest
# image_name: codefresh/whalesay
```


[8]ページ先頭

©2009-2025 Movatter.jp