mirror of
https://github.com/docker/cli.git
synced 2026-09-24 15:30:10 -05:00
docs: add missing content-type header for image load
Without a content-type header, Go uses a max post size of 10 megabytes, which makes loading images fail if they're larger than 10 megabytes Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 3892ac7e9418547785c36c91c3fb49a9c876c4b1 Component: engine
This commit is contained in:
@@ -1843,6 +1843,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
@@ -1924,6 +1924,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
@@ -2068,6 +2068,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
@@ -2219,6 +2219,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
@@ -2608,6 +2608,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
@@ -2653,6 +2653,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
@@ -2666,6 +2666,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
@@ -2672,6 +2672,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user