Docker Community Forums

Share and learn in the Docker community.

Docker swarm example keystore pull fails for ssl certs

dockerhub
docker

(Fryderhub) #1

Expected behavior

docker machine should have started as cosul container

Actual behavior

Error while pulling image: Get https://index.docker.io/v1/repositories/progrium/consul/images: x509: certificate signed by unknown authority.

Information

trying to follow the example given in the docker-swarm tutorial

Steps to reproduce the behavior

  1. docker-machine create -d virtualbox --virtualbox-cpu-count 2 --virtualbox-memory “1024” --virtualbox-disk-size “8192” --engine-env HTTP_PROXY=http://10.0.2.2:3128 --engine-env HTTPS_PROXY=http://10.0.2.2:3128 --engine-opt=“label=com.function=consul” keystore
  2. eval $(docker-machine env keystore)
  3. docker run --restart=unless-stopped -d -p 8500:8500 -h consul progrium/consul -server -bootstrap