Closed dhoffi closed 4 years ago
We are currently working on adding support for the docker-desktop
cpi (just docker cpi with defaults configured to work with docker-desktop). https://github.com/starkandwayne/bucc/tree/develop/ops/cpis/docker-desktop
it is ready as is, we only need a new version of concourse with this fix: https://github.com/concourse/concourse-bosh-release/pull/31/files
latest concourse is already implemented
I spend the last days to get up bucc gainst docker-desktop and finally have to give up if some of you do not have brilliant ideas.
Here's what I did:
bucc up --cpi docker
first failed because of missing certs then because the mac docker-desktop tcp port is not exposed to the mac hostso I did create certs against *.my.dev domain, configured docker-desktop to use these certs and use a docker create networked network and
socat openssl-listen:$SECURE_PORT,fork,reuseaddr,cert=$CERTSDIRHOST/$TLSCERT,cafile=$CERTSDIRHOST/$TLSCACERT,key=$CERTSDIRHOST/$TLSKEY UNIX-CONNECT:/var/run/docker.sock
anddnsmasq
ed my.dev to point at localhost.But in the end bucc up with
docker_host: tcp://something.my.dev:2376
complained on unreachable internal_ip:So my gazillionsed try was the following:
host.docker.internal
which docker-desktop provides to reach the hostcreated a docker bridged network:
vars.yml
on a
bucc up --cpi docker
I now finally get pretty far, but still not working:or in short:
any ideas? or is this just plain impossible?