docker / docs

Source repo for Docker's Documentation
https://docs.docker.com
Apache License 2.0
4.15k stars 7.21k forks source link

Document supported checksum digest algorithm #18682

Closed gilbertbw closed 1 month ago

gilbertbw commented 10 months ago

Is this a docs issue?

Type of issue

I can't find what I'm looking for

Description

The --checksum option for the ADD command does not indicate what digests are supported.

Location

https://docs.docker.com/engine/reference/builder/

Suggestion

Document the digests that are supported. n.b. I could not find the relevant source code for this.

fcharron commented 10 months ago

I'd add to better document the error you get when the digest algorithm is unsupported. I tried ADD --checksum:md5 and the error I was getting from a docker compose build command was "unsupported digest algorithm", which IMO is not very clear. I didn't even know it was about the ADD command, and I was digging around the image digest for a good bit before thinking of looking at the ADD command.

docker-robot[bot] commented 6 months ago

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

thiagomarafeli commented 6 months ago

I believe this is really needed! It's not clear which algorithms are supported

gilbertbw commented 6 months ago

/remove-lifecycle stale This is still not documented

docker-robot[bot] commented 3 months ago

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

sashasimkin commented 3 months ago

/remove-lifecycle stale This is still not documented and not clear what algorithms are supported.

thompson-shaun commented 1 month ago

I believe this is the section being referenced https://docs.docker.com/reference/dockerfile/#add---checksum

Any thoughts @dvdksn?

docker-robot[bot] commented 3 weeks ago

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked