VIC Containers fail to Run "Server error from portlayer: Post http://<VCH-IP>:2380/scopes/default/containers: EOF"
search cancel

VIC Containers fail to Run "Server error from portlayer: Post http://<VCH-IP>:2380/scopes/default/containers: EOF"

book

Article ID: 327253

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
When attempting to run a container using the docker-client, the container fails reporting the following error:

"docker: Error response from daemon: Server error from portlayer: Post http://<VCH-IP>:2380/scopes/default/containers: EOF"

Cause

The user the VCH is configured to connect to vCenter with does not have permissions to the network VDS.

Resolution

The user used for the "--user" needs to be a vSphere admin user like the [email protected] user. The user "--ops-user" needs to meet the requirements per the permissions listed in the documentation under Manually Create a User Account for the Operations User

Option 1: Check that the "--ops-user" does have the needed permissions adding any missing per Manually Create a User Account for the Operations User.. 

Option 2: Redeploy the VCH adding "--ops-grant-perms" to the "vic-machine-<OS> create" deployment. For details see Configure the Operations User.