FATAL[0001] Could not reach any registry endpoint
Hi,
Great repostiroy but I am getting an error when I run:
root@node:~/Desktop/inception# DINCEPTION_DEPTH=3 ./dinception run --rm --privileged -e LOG=file -ti busybox echo hi
ln: failed to create symbolic link '/sys/fs/cgroup/systemd/name=systemd': Operation not permitted
Unable to find image 'kojiromike/dind:latest' locally
Pulling repository kojiromike/dind
FATA[0001] Could not reach any registry endpoint
Any idea what is the problem ? I am working with Ubuntu:
root@node:~/Desktop/inception# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial](url)
Happy New Year! Hmm, sorry, I haven't worked on this in a while. I may not have a chance to take a crack at it soon, but I'm happy to look at suggestions or PRs.
Hmm, I did look into this and I had no issue fetching kojiromike/dind; however, there are plenty of updates needed to get this thing working with modern(ish) docker images. Mainly, the old jpetazzo/dind used a wrapdocker script that combined starting the docker daemon with the command you wanted to execute in a container, so it would do both.
The new docker images start a daemon in
docker run --name ghostly_barbecue --detached --privileged docker:dind
and then you have to link another container with
docker run --rm -ti --link ghostly_barbecue docker version
Although I'm also considering cheating and using exec:
docker exec -ti ghostly_barbecue docker version