vic
vic copied to clipboard
Error: context deadline exceeded deploying contrainer
Summary
Trying to run portainer based off of: https://code.vmware.com/samples/5486/Running-Portainer-on-VIC. The container won't start and errored out on deployment.
Environment information
Host running vDS
vSphere and vCenter Server version
vSphere 6.7u3
VIC version
v1.5.4
VCH configuration
vic-machine-windows create --name virtual-container-host --compute-resource esxi1.home.local --image-store VM\ SAS\ 15K/ContainerStore --base-image-size 8GB --volume-store VM SAS 15K/DockerFolder:default --volume-store VM SAS 15K/DockerFolder:DockerVolume --bridge-network Containers --bridge-network-range 172.16.0.0/12 --public-network Management --public-network-ip 192.168.0.202/24 --public-network-gateway 192.168.0.1 --dns-server 192.168.0.87 --container-network Management:routable --container-network-ip-range Management:192.168.0.210-192.168.0.239 --container-network-gateway Management:192.168.0.1/24 --container-network-dns Management:192.168.0.87 --container-network-firewall Management:open --tls-cname virtual-container-host --certificate-key-size 2048 --no-tlsverify --user [email protected] --thumbprint xxxxx --target vcenter.home.local/home --ops-user [email protected]
Details
[burningsky@engal ~]$ docker --tls volume create portainer_data portainer_data [burningsky@engal ~]$ docker --tls network ls NETWORK ID NAME DRIVER SCOPE 1c26825ddf60 bridge bridge bc5eec31bd86 routable external [burningsky@engal ~]$ docker --tls run -d -p 9000:9000 --name portainer --restart always -v portainer_data:/data portainer/portainer --net routable Unable to find image 'portainer/portainer:latest' locally latest: Pulling from portainer/portainer d1e017099d17: Pull complete cc61cd4105c3: Pull complete a3ed95caeb02: Pull complete Digest: sha256:51b5b87985c69b5ce05561a7190d824eaa1f2e6c2bccc13a0f683dc76193e641 Status: Downloaded newer image for portainer/portainer:latest 22290179f397e11c579615dcc0e8632f986d2819fb80dd512da275dba4ac0160 ERRO[0212] error waiting for container: Error response from daemon: Server error from portlayer: ContainerWaitHandler(22290179f397e11c579615dcc0e8632f986d2819fb80dd512da275dba4ac0160) Error: context deadline exceeded