Skip to content

Commit

Permalink
Documented issue with excessive image layers (#1980)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuclem authored Aug 30, 2018
1 parent 0587c06 commit 275aefa
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/user_doc/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
* [Default Volume Store Error](vic_vsphere_admin/ts_volume_store_error.md)
* [Deleting or Inspecting a VCH Fails](vic_vsphere_admin/ts_delete_inspect_error.md)
* [Docker Login Fails](vic_vsphere_admin/ts_dockerlogin_error.md)
* [Image Store Error](vic_vsphere_admin/ts_imagestore_error.md)
* [Install Packages in VCHs](vic_vsphere_admin/vch_install_packages.md)
* [Mount an NFS Share Point](vic_vsphere_admin/vch_mount_nfsshare.md)
* [Security Reference](vic_vsphere_admin/security_reference.md)
Expand Down
1 change: 1 addition & 0 deletions docs/user_doc/vic_app_dev/container_limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ vSphere Integrated Containers Engine includes these limitations:
- IPv6
- Service discovery
- Containers can acquire DHCP addresses only if they are on a network that has DHCP.
- When you use a standard Docker Engine, an image can have a maximum of 120 layers. When you use a vSphere Integrated Containers Engine virtual container host (VCH), an image can have a maximum of 90 layers. For more information, see [Pulling Images into VCHs Fails with Image Store Error](../vic_vsphere_admin/ts_imagestore_error.md) in the Troubleshooting section.

## Using `docker-compose` with TLS

Expand Down
1 change: 1 addition & 0 deletions docs/user_doc/vic_vsphere_admin/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
* [Default Volume Store Error](ts_volume_store_error.md)
* [Deleting or Inspecting a VCH Fails](ts_delete_inspect_error.md)
* [Docker Login Fails](ts_dockerlogin_error.md)
* [Image Store Error](ts_imagestore_error.md)
* [Install Packages in VCHs](vch_install_packages.md)
* [Mount an NFS Share Point](vch_mount_nfsshare.md)
* [Security Reference](security_reference.md)
Expand Down
19 changes: 19 additions & 0 deletions docs/user_doc/vic_vsphere_admin/ts_imagestore_error.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Pulling Images into VCHs Fails with Image Store Error #

When you attempt to pull certain container images from a registry into a vSphere Integrated Containers virtual container host (VCH), the pulls fail with an error. Pulls of other container images do not fail.

## Problem

When you attempt to pull an image, you see the following error:

<pre>Failed to write to image store: [POST /storage/{<i>image_store_name</i>}] [5000] WriteImage default &{Code: 500 Message:Failed to add disk 'scsi0:0' .}
</pre>


## Cause

When you use a standard Docker Engine, an image can have a maximum of 120 layers. When you use a vSphere Integrated Containers Engine virtual container host (VCH), an image can have a maximum of 90 layers. The image that you are pulling exceeds the limit of 90 layers.

## Solution

Reduce the number of layers in the image to less than 90.
3 changes: 2 additions & 1 deletion docs/user_doc/vic_vsphere_admin/ts_post_deployment_op.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ This section provides solutions for common problems that you might encounter whe
* [Some Users Cannot Access vSphere Integrated Containers Services](ts_no_access_to_vic_services.md)
* [Default Volume Store Error](ts_volume_store_error.md)
* [Deleting or Inspecting a VCH Fails with a Not a VCH or Resource Pool Not Found Error](ts_delete_inspect_error.md)
* [Logging in to vSphere Integrated Containers Registry from Docker Fails](ts_dockerlogin_error.md)
* [Logging in to vSphere Integrated Containers Registry from Docker Fails](ts_dockerlogin_error.md)
* [Pulling Images into VCHs Fails with Image Store Error](ts_imagestore_error.md)

0 comments on commit 275aefa

Please sign in to comment.