Problem: I am trying to run docker inside vagrant, my Vagrantfile contains following:-
config.vm.provision \"docker\" do |d|
d.run \"ubuntu\",
i've gotten the same error response. when i checkout the daemon.json file, and i found that
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
"graph": "/etc/docker/mirror"
}
as you can see, i missed "," so i corrected it so simple. how careless i was!
{
"registry-mirrors": ["http://hub-mirror.c.163.com"],
"graph": "/etc/docker/mirror"
}
sometimes you need check your code carefully